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

  4. contains - Determine if pattern is in strings - MATLAB

    This MATLAB function returns 1 (true) if str contains the specified pattern, and returns 0 (false) otherwise.

  5. python - Check if string matches pattern - Stack Overflow

    From the docs on re.match: If zero or more characters at the beginning of string match the regular expression pattern. I just spent like 30 minutes trying to understand why I couldn't match something …

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

  7. regex - Python extract pattern matches - Stack Overflow

    Mar 11, 2013 · 1 It seems like you're actually trying to extract a name vice simply find a match. If this is the case, having span indexes for your match is helpful and I'd recommend using re.finditer. As a …

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

  9. How can I compare two lists in python and return matches

    The question was interpreted in two different ways. If the goal is to find all the elements that are common to both lists (regardless of where they appear in the list), that is a list intersection. Otherwise, if the …

  10. regex - What do 'lazy' and 'greedy' mean in the context of regular ...

    Feb 20, 2010 · For all people reading the post: greedy or lazy quantifiers by themselves won't match the longest/shortest possible substring. You would have to use either a tempered greedy token, or use …