About 75 results
Open links in new tab
  1. Match case statement with multiple 'or' conditions in each case

    Dec 2, 2022 · Match case statement with multiple 'or' conditions in each case Ask Question Asked 3 years, 2 months ago Modified 1 year, 6 months ago

  2. JavaScript - Use variable in string match - Stack Overflow

    Jun 9, 2019 · Although the match function doesn't accept string literals as regex patterns, you can use the constructor of the RegExp object and pass that to the String.match function: var re = new …

  3. Python: match/case by type of value - Stack Overflow

    May 18, 2022 · You can match directly against the type of v, but you need a value pattern to refer to the types to match, as a "dotless" name is a capture pattern that matches any value.

  4. matchFeatures - Find matching features - MATLAB - MathWorks

    This MATLAB function returns indices of the matching features in the two input feature sets.

  5. Regex Match all characters between two strings - Stack Overflow

    May 24, 2011 · To match as least as possible characters, you can make the quantifier non greedy by appending a question mark, and use a capture group to extract the part in between.

  6. Reset local repository branch to be just like remote repository HEAD

    Oct 27, 2009 · # Reset all tracked files to match the remote branch git reset --hard origin/main #replace with remote branch name # Remove all untracked files, directories, and gitignored files git clean -fdx …

  7. index match returns 0 for blank cell, want it to be

    index match returns 0 for blank cell, want it to be "-" Asked 8 years, 10 months ago Modified 2 years, 11 months ago Viewed 148k times

  8. Regular expression to match string starting with a specific word

    Nov 13, 2021 · How do I create a regular expression to match a word at the beginning of a string? We are looking to match stop at the beginning of a string and anything can follow it. For example, the …

  9. How to match a substring in a string, ignoring case

    How to match a substring in a string, ignoring case Asked 14 years, 7 months ago Modified 2 years, 10 months ago Viewed 290k times

  10. regex - Match whitespace but not newlines - Stack Overflow

    Aug 12, 2010 · I sometimes want to match whitespace but not newline. So far I've been resorting to [ \\t]. Is there a less awkward way?