diff options
| author | Ralph Amissah <ralph@amissah.com> | 2015-12-02 18:23:00 -0500 | 
|---|---|---|
| committer | Ralph Amissah <ralph@amissah.com> | 2015-12-02 18:23:00 -0500 | 
| commit | 6d0b245927779e68c2554880ad46d4299d4b11d4 (patch) | |
| tree | 915ebf04752ac852f483a55a611708bfff907143 /lib/sdp/ao_rgx.d | |
| parent | org babel block delimiters (diff) | |
sorting
Diffstat (limited to 'lib/sdp/ao_rgx.d')
| -rw-r--r-- | lib/sdp/ao_rgx.d | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/lib/sdp/ao_rgx.d b/lib/sdp/ao_rgx.d index 21101b5..7050d25 100644 --- a/lib/sdp/ao_rgx.d +++ b/lib/sdp/ao_rgx.d @@ -27,8 +27,10 @@ mixin template RgxInit() {      static levels_numbered_headings  = ctRegex!(`^[0-7]$`);      /* insert markup file */      static insert_src_fn_ssi_or_sst  = ctRegex!(`^<<\s*(?P<path>[a-zA-Z0-9._-]+/)*(?P<filename>[a-zA-Z0-9._-]+[.]ss[ti])$`); -    /* header & comments */ +    // static insert_ssi_or_sst_fn      = ctRegex!(`^<<\s*[a-zA-Z0-9._-]+[.]ss[ti]`); +    /* comments */      static comment                   = ctRegex!(`^%+ `); +    /* header */      static header                    = ctRegex!(`^@([a-z_]+):(?:\s|$)`);      static header_make               = ctRegex!(`^@(make):(?:\s|$)`);      static header_metadata           = ctRegex!(`^@([a-z_]+):(?:\s|$)`); | 
