About 96 results
Open links in new tab
  1. matchFeatures - Find matching features - MATLAB - MathWorks

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

  2. Negative matching using grep (match lines that do not contain foo)

    How do I match all lines not matching a particular pattern using grep? I tried this: grep '[^foo]'

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

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

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

  5. 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 …

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

    245 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 …

  7. How can I match "anything up until this sequence of characters" in …

    ^ match start of line .* match anything, ? non-greedily (match the minimum number of characters required) - [1] [1] The reason why this is needed is that otherwise, in the following string: …

  8. Regex how to match an optional character - Stack Overflow

    I have a regex that I thought was working correctly until now. I need to match on an optional character. It may be there or it may not. Here are two strings. The top string is matched while …

  9. Regular expression to match characters at beginning of line only

    Mar 30, 2018 · Regex symbol to match at beginning of a line: ^ Add the string you're searching for (CTR) to the regex like this: ^CTR Example: regex That should be enough! However, if you …

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

    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 …