

Indicates whether the regular expression specified in the Regex constructor finds a match in the specified input string, beginning at the specified starting position in the string. Indicates whether the regular expression specified in the Regex constructor finds a match in a specified input string. Indicates whether the regular expression specified in the Regex constructor finds a match in a specified input span. Indicates whether the specified regular expression finds a match in the specified input span. Indicates whether the specified regular expression finds a match in the specified input string. Indicates whether the specified regular expression finds a match in the specified input span, using the specified matching options. IsMatch(ReadOnlySpan, String, RegexOptions) Indicates whether the specified regular expression finds a match in the specified input string, using the specified matching options. Indicates whether the specified regular expression finds a match in the specified input span, using the specified matching options and time-out interval. IsMatch(ReadOnlySpan, String, RegexOptions, TimeSpan) Indicates whether the specified regular expression finds a match in the specified input string, using the specified matching options and time-out interval. In this article Overloads IsMatch(String, String, RegexOptions, TimeSpan) Tasks : - name : "String interpretation" vars : a_string : "A string" a_dictionary : a_list : assert : that : # Note that a string is classed as also being "iterable", "sequence" and "mapping" - a_string is string # Note that a dictionary is classed as not being a "string", but is "iterable", "sequence" and "mapping" - a_dictionary is not string and a_dictionary is mapping # Note that a list is classed as not being a "string" or "mapping" but is "iterable" and "sequence" - a_list is not string and a_list is not mapping and a_list is iterable - name : "Number interpretation" vars : a_float : 1.01 a_float_as_string : "1.01" an_integer : 1 an_integer_as_string : "1" assert : that : # Both a_float and an_integer are "number", but each has their own type as well - a_float is number and a_float is float - an_integer is number and an_integer is integer # Both a_float_as_string and an_integer_as_string are not numbers - a_float_as_string is not number and a_float_as_string is string - an_integer_as_string is not number and a_float_as_string is string # a_float or a_float_as_string when cast to a float and then to a string should match the same value cast only to a string - a_float | float | string = a_float | string - a_float_as_string | float | string = a_float_as_string | string # Likewise an_integer and an_integer_as_string when cast to an integer and then to a string should match the same value cast only to an integer - an_integer | int | string = an_integer | string - an_integer_as_string | int | string = an_integer_as_string | string # However, a_float or a_float_as_string cast as an integer and then a string does not match the same value cast to a string - a_float | int | string != a_float | string - a_float_as_string | int | string != a_float_as_string | string # Again, Likewise an_integer and an_integer_as_string cast as a float and then a string does not match the same value cast to a string - an_integer | float | string != an_integer | string - an_integer_as_string | float | string != an_integer_as_string | string - name : "Native Boolean interpretation" loop : - yes - true - True - TRUE - no - No - NO - false - False - FALSE assert : that : # Note that while other values may be cast to boolean values, these are the only ones which are natively considered boolean # Note also that `yes` is the only case sensitive variant of these values.Indicates whether the regular expression finds a match in the input string. Controlling how Ansible behaves: precedence rules.

Virtualization and Containerization Guides.Controlling playbook execution: strategies and more.Executing playbooks for troubleshooting.Validating tasks: check mode and diff mode.Discovering variables: facts and magic variables.Working with language-specific version managers.Controlling where tasks run: delegation and local actions.

