From abe96dceeed6b0ffb0a132b15fbbe7942fec7f58 Mon Sep 17 00:00:00 2001 From: Benjamin Culkin Date: Thu, 14 Sep 2017 19:18:21 -0700 Subject: Update directive matching to support function calls. --- BJC-Utils2/data/regexes.sprop | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'BJC-Utils2/data/regexes.sprop') 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 (?:(?[\S&&[^/]])|(?:/(?[\S&&[^/]]+)/)) ############################################## # Miscellaneous validation regular expressions ############################################## -- cgit v1.2.3