About 2,530,000 results
Open links in new tab
  1. 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.

  2. matchFeatures - Find matching features - MATLAB - MathWorks

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

  3. regex - How do I match any character across multiple lines in a …

    Oct 2, 2008 · For example, this regex (.*)<FooBar> will match: abcde<FooBar> But how do I get it to match across multiple lines? abcde fghij<FooBar>

  4. Regular expression to stop at first match - Stack Overflow

    to capture a match between start and the first occurrence of end. Notice how the subexpression with nested parentheses spells out a number of alternatives which between them allow e only …

  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. OR condition in Regex - Stack Overflow

    Apr 13, 2013 · For example, ab|de would match either side of the expression. However, for something like your case you might want to use the ? quantifier, which will match the previous …

  7. Match everything except for specified strings - Stack Overflow

    Mar 8, 2010 · I know that the following regex will match "red", "green", or "blue". red|green|blue Is there a straightforward way of making it match everything except several specified strings?

  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 …

  9. How do if statements differ from match/case statments in Python?

    Jun 13, 2021 · 28 PEP 622 provides an in-depth explanation for how the new match-case statements work, what the rationale is behind them, and provides examples where they're …

  10. Regex match entire words only - Stack Overflow

    ^ and $ match the beginning (respectively the end) of a line, therefore your example would match only if those are the only words in the line.