diff options
| author | Benjamin Culkin <bjculkin@mix.wvu.edu> | 2017-09-14 19:18:21 -0700 |
|---|---|---|
| committer | Benjamin Culkin <bjculkin@mix.wvu.edu> | 2017-09-14 19:18:21 -0700 |
| commit | abe96dceeed6b0ffb0a132b15fbbe7942fec7f58 (patch) | |
| tree | 7fc5c79b964c8ad68f69287a4f5a739d8fe1cbab /BJC-Utils2/data/regexes.sprop | |
| parent | be125640128e741e964f65af0479dcb2f8002919 (diff) | |
Update directive matching to support function calls.
Diffstat (limited to 'BJC-Utils2/data/regexes.sprop')
| -rw-r--r-- | BJC-Utils2/data/regexes.sprop | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/BJC-Utils2/data/regexes.sprop b/BJC-Utils2/data/regexes.sprop index dadc09c..89c5b4f 100644 --- a/BJC-Utils2/data/regexes.sprop +++ b/BJC-Utils2/data/regexes.sprop @@ -50,6 +50,11 @@ clFormatPrefix (?:[-+]?\d+|'\S|[Vv]|#) ## A modifier is either : or @, or both in either order clFormatModifier (?:@|:|@:|:@) +## Matches a directive name. +## A directive name is either +## 1) A single, non-whitespace, non-/ character +## 2) A name enclosed in /'s +clFormatName (?:(?<name>[\S&&[^/]])|(?:/(?<funcname>[\S&&[^/]]+)/)) ############################################## # Miscellaneous validation regular expressions ############################################## |
