Migrated from regex-based patterns to string-based patterns

String-based patterns are simpler to understand and allow for nested
statement blocks (Bare Bones' documentation says "Because function
scanning is turned off while a function pattern matches, embedded
functions will not be indexed.")