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

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

  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. How to match "any character" in regular expression?

    Feb 24, 2023 · You may also sometimes need to match newlines in Java regexes in contexts where you cannot pass Pattern.DOTALL, such as when doing a multi-line regex search in Eclipse, or as a user …

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

    May 16, 2017 · The fact that you want a true / false on whether a match was made? Or do you want to extract the entire line whose start begins with CTR? I'll answer you only want a true / false match. To …

  6. regex - Regular Expressions- Match Anything - Stack Overflow

    How do I make an expression to match absolutely anything (including whitespaces)? Example: Regex: I bought _____ sheep. Matches: I bought sheep. I bought a sheep. I bought five sheep. I tried usi...

  7. python - IndentationError: unindent does not match any outer ...

    When I compile the Python code below, I get IndentationError: unindent does not match any outer indentation level import sys def Factorial(n): # Return factorial result = 1 for i in range...

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

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

  10. SQL Error: ORA-01861: literal does not match format string 01861

    The format you use for the date doesn't match to Oracle's default date format. A default installation of Oracle Database sets the DEFAULT DATE FORMAT to dd-MMM-yyyy.