Module file_matches_regex

Module file_matches_regex 

Source
Expand description

Check if a file’s content matches the given regular expression

§then file (?P<filename>\S+) matches regex /(?P<regex>.*)/

This will load the content of th enamed file and ensure it contains data which matches the given regular expression. This step will fail if the file is not utf-8 encoded, or if the regex fails to compile

Functions§

call
Call this step function from another.