About 67 results
Open links in new tab
  1. JavaScript - Use variable in string match - Stack Overflow

    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:

  2. Match case statement with multiple 'or' conditions in each case

    Dec 2, 2022 · Match case statement with multiple 'or' conditions in each case Asked 3 years, 2 months ago Modified 1 year, 5 months ago Viewed 39k times

  3. pattern - Patterns to search and match text - MATLAB

    A pattern defines rules for matching text with text-searching functions like contains, matches, and extract.

  4. 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.

  5. strcmp - Compare strings - MATLAB - MathWorks

    This MATLAB function compares s1 and s2 and returns 1 (true) if the two are identical and 0 (false) otherwise.

  6. 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, 10 months ago Viewed 147k times

  7. 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 289k times

  8. Regex: ignore case sensitivity - Stack Overflow

    Mar 11, 2012 · How can I make the following regex ignore case sensitivity? It should match all the correct characters but ignore whether they are lower or uppercase. G[a-b].*

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

    Oct 27, 2009 · Setting your branch to exactly match the remote branch can be done in two steps: git fetch origin git reset --hard origin/master If you want to save your current branch's state before doing …

  10. regexp - Match regular expression (case sensitive) - MATLAB

    This MATLAB function returns the starting index of each substring of str that matches the character patterns specified by the regular expression.