grammaregex
grammaregex copied to clipboard
Stars in sets of options are considered a valid pattern
Example:
grammaregex.verify_pattern("[VERB,**]/") True grammaregex.verify_pattern("[VERB,]/*") True
This happens because the full verify_pattern function is called on each list element, meaning each list element gets matched against a regex for which "*" and "**" are acceptable strings.