About 2,660,000 results
Open links in new tab
  1. Match case statement with multiple 'or' conditions in each case

    Dec 2, 2022 · match x: case 1 | 2 | 3: return "132" case 4 | 5 | 6: return "564" case 7 | 8 | 9: return "762" Is there an easy way to check for multiple conditions for each case, without having to …

  2. matchFeatures - Find matching features - MATLAB - MathWorks

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

  3. How to match, but not capture, part of a regex? - Stack Overflow

    A variation of the expression by @Gumbo that makes use of \K for resetting match positions to prevent the inclusion of number blocks in the match. Usable in PCRE regex flavours.

  4. XSL: Meaning of `match="/"` for `xsl:template` - Stack Overflow

    The value of the match attribute of the <xsl:template> instruction must be a match pattern. Match patterns form a subset of the set of all possible XPath expressions. The first, natural, limitation …

  5. SyntaxError: invalid syntax when using match case - Stack Overflow

    Oct 26, 2021 · I've been trying to use a match case instead of a million IF statements, but anything I try returns the error: match http_code: ^ SyntaxError: invalid syntax I've also tried …

  6. pattern - Patterns to search and match text - MATLAB

    A pattern defines rules for matching text with text-searching functions like contains, matches, and extract.

  7. regex - Match groups in Python - Stack Overflow

    Is there a way in Python to access match groups without explicitly creating a match object (or another way to beautify the example below)? Here is an example to clarify my motivation for …

  8. Conditional statement inside a match case - Stack Overflow

    Apr 14, 2022 · Is it possible to have a conditional statement as a case for a match statement in Python? Working something like this: test = 'Aston Martin' makes = ['Aston Martin', 'Bentley'] …

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

  10. If two cells match, return value from third - Stack Overflow

    Oct 15, 2014 · If two cells match, return value from third Asked 11 years, 2 months ago Modified 6 years, 9 months ago Viewed 633k times