inspec/docs/shared/matcher_match.md.erb

2 lines
121 B
Text
Raw Normal View History

2016-09-22 12:43:57 +00:00
Use the `match` matcher to check if a string matches a regular expression: `its('string') { should_not match /regex/ }`.