About 72 results
Open links in new tab
  1. 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.

  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, 4 months ago Modified 1 month ago Viewed 40k times

  3. RegEx match open tags except XHTML self-contained tags

    The tag to match may end with a simple ">" symbol, or a possible XHTML closure, which makes use of the slash before it: (/>|>). The slash is, of course, escaped since it coincides with the regular …

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

    May 16, 2017 · 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 need to …

  5. regex - How do I match any character across multiple lines in a regular ...

    Oct 2, 2008 · To clarify; I was originally using Eclipse to do a find and replace in multiple files. What I have discovered by the answers below is that my problem was the tool and not regex pattern.

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

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

  8. Message 'src refspec master does not match any' when pushing …

    Message 'src refspec master does not match any' when pushing commits in Git Asked 15 years, 5 months ago Modified 8 months ago Viewed 5.2m times

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

  10. Regular Expression to match only alphabetic characters

    Jan 8, 2020 · I was wondering If I could get a regular expression which will match a string that only has alphabetic characters, and that alone.