@@ -168,11 +168,11 @@ struct pcre {
168
168
static constexpr auto rule (c, ctll::term<' ?' >) -> ctll::push<ctll::anything, m>;
169
169
static constexpr auto rule (c, ctll::term<' ^' >) -> ctll::push<ctll::anything, push_assert_begin, repeat, string2, content2, make_capture, ctll::term<'\x29'>>;
170
170
static constexpr auto rule (c, ctll::term<' $' >) -> ctll::push<ctll::anything, push_assert_end, repeat, string2, content2, make_capture, ctll::term<'\x29'>>;
171
- static constexpr auto rule (c, ctll::set<' ,' ,' -' ,' :' ,' >' ,' A' ,' B' ,' C' ,' D' ,' E' ,' F' ,' G' ,' H' ,' I' ,' J' ,' K' ,' L' ,' M' ,' N' ,' O' ,' P' ,' Q' ,' R' ,' S' ,' T' ,' U' ,' ]' ,' a' ,' 0' ,' V' ,' W' ,' X' ,' Y' ,' Z' ,' b' ,' c' ,' d' ,' e' ,' f' ,' g' ,' h' ,' i' ,' j' ,' k' ,' l' ,' m' ,' n' ,' o' ,' p' ,' q' ,' r' ,' s' ,' t' ,' u' ,' v' ,' w' ,' x' ,' y' ,' z' ,' 1' ,' 2' ,' 3' ,' 4' ,' 5' ,' 6' ,' 7' ,' 8' ,' 9' >) -> ctll::push<ctll::anything, push_character, repeat, string2, content2, make_capture, ctll::term<'\x29'>>;
171
+ static constexpr auto rule (c, ctll::set<' ,' ,' -' ,' :' ,' < ' , ' >' ,' A' ,' B' ,' C' ,' D' ,' E' ,' F' ,' G' ,' H' ,' I' ,' J' ,' K' ,' L' ,' M' ,' N' ,' O' ,' P' ,' Q' ,' R' ,' S' ,' T' ,' U' ,' ]' ,' a' ,' 0' ,' V' ,' W' ,' X' ,' Y' ,' Z' ,' b' ,' c' ,' d' ,' e' ,' f' ,' g' ,' h' ,' i' ,' j' ,' k' ,' l' ,' m' ,' n' ,' o' ,' p' ,' q' ,' r' ,' s' ,' t' ,' u' ,' v' ,' w' ,' x' ,' y' ,' z' ,' 1' ,' 2' ,' 3' ,' 4' ,' 5' ,' 6' ,' 7' ,' 8' ,' 9' >) -> ctll::push<ctll::anything, push_character, repeat, string2, content2, make_capture, ctll::term<'\x29'>>;
172
172
static constexpr auto rule (c, _others) -> ctll::push<ctll::anything, push_character, repeat, string2, content2, make_capture, ctll::term<'\x29'>>;
173
173
static constexpr auto rule (c, ctll::term<' .' >) -> ctll::push<ctll::anything, push_character_anything, repeat, string2, content2, make_capture, ctll::term<'\x29'>>;
174
174
static constexpr auto rule (c, ctll::term<' \x29 ' >) -> ctll::push<push_empty, make_capture, ctll::anything>;
175
- static constexpr auto rule (c, ctll::set<' *' ,' +' ,' < ' , ' _' ,' \x7B ' ,' |' ,' \x7D ' >) -> ctll::reject;
175
+ static constexpr auto rule (c, ctll::set<' *' ,' +' ,' _' ,' \x7B ' ,' |' ,' \x7D ' >) -> ctll::reject;
176
176
177
177
static constexpr auto rule (class_named_name, ctll::term<' x' >) -> ctll::push<ctll::anything, ctll::term<'d'>, ctll::term<'i'>, ctll::term<'g'>, ctll::term<'i'>, ctll::term<'t'>, class_named_xdigit>;
178
178
static constexpr auto rule (class_named_name, ctll::term<' d' >) -> ctll::push<ctll::anything, ctll::term<'i'>, ctll::term<'g'>, ctll::term<'i'>, ctll::term<'t'>, class_named_digit>;
@@ -195,18 +195,19 @@ struct pcre {
195
195
static constexpr auto rule (content_in_capture, ctll::term<' [' >) -> ctll::push<ctll::anything, d, repeat, string2, content2>;
196
196
static constexpr auto rule (content_in_capture, ctll::term<' ^' >) -> ctll::push<ctll::anything, push_assert_begin, repeat, string2, content2>;
197
197
static constexpr auto rule (content_in_capture, ctll::term<' $' >) -> ctll::push<ctll::anything, push_assert_end, repeat, string2, content2>;
198
- static constexpr auto rule (content_in_capture, ctll::set<' ,' ,' -' ,' :' ,' >' ,' A' ,' B' ,' C' ,' D' ,' E' ,' F' ,' G' ,' H' ,' I' ,' J' ,' K' ,' L' ,' M' ,' N' ,' O' ,' P' ,' Q' ,' R' ,' S' ,' T' ,' U' ,' ]' ,' a' ,' 0' ,' V' ,' W' ,' X' ,' Y' ,' Z' ,' b' ,' c' ,' d' ,' e' ,' f' ,' g' ,' h' ,' i' ,' j' ,' k' ,' l' ,' m' ,' n' ,' o' ,' p' ,' q' ,' r' ,' s' ,' t' ,' u' ,' v' ,' w' ,' x' ,' y' ,' z' ,' 1' ,' 2' ,' 3' ,' 4' ,' 5' ,' 6' ,' 7' ,' 8' ,' 9' >) -> ctll::push<ctll::anything, push_character, repeat, string2, content2>;
198
+ static constexpr auto rule (content_in_capture, ctll::set<' ,' ,' -' ,' :' ,' < ' , ' >' ,' A' ,' B' ,' C' ,' D' ,' E' ,' F' ,' G' ,' H' ,' I' ,' J' ,' K' ,' L' ,' M' ,' N' ,' O' ,' P' ,' Q' ,' R' ,' S' ,' T' ,' U' ,' ]' ,' a' ,' 0' ,' V' ,' W' ,' X' ,' Y' ,' Z' ,' b' ,' c' ,' d' ,' e' ,' f' ,' g' ,' h' ,' i' ,' j' ,' k' ,' l' ,' m' ,' n' ,' o' ,' p' ,' q' ,' r' ,' s' ,' t' ,' u' ,' v' ,' w' ,' x' ,' y' ,' z' ,' 1' ,' 2' ,' 3' ,' 4' ,' 5' ,' 6' ,' 7' ,' 8' ,' 9' >) -> ctll::push<ctll::anything, push_character, repeat, string2, content2>;
199
199
static constexpr auto rule (content_in_capture, _others) -> ctll::push<ctll::anything, push_character, repeat, string2, content2>;
200
200
static constexpr auto rule (content_in_capture, ctll::term<' .' >) -> ctll::push<ctll::anything, push_character_anything, repeat, string2, content2>;
201
201
static constexpr auto rule (content_in_capture, ctll::term<' \x29 ' >) -> ctll::push<push_empty>;
202
- static constexpr auto rule (content_in_capture, ctll::set<' *' ,' +' ,' < ' , ' ?' ,' _' ,' \x7B ' ,' |' ,' \x7D ' >) -> ctll::reject;
202
+ static constexpr auto rule (content_in_capture, ctll::set<' *' ,' +' ,' ?' ,' _' ,' \x7B ' ,' |' ,' \x7D ' >) -> ctll::reject;
203
203
204
204
static constexpr auto rule (d, ctll::term<' [' >) -> ctll::push<ctll::anything, ctll::term<':'>, h, range, set_start, set2, set_make, ctll::term<']'>>;
205
205
static constexpr auto rule (d, ctll::term<' \\ ' >) -> ctll::push<ctll::anything, e, set_start, set2, set_make, ctll::term<']'>>;
206
206
static constexpr auto rule (d, ctll::set<' $' ,' \x28 ' ,' \x29 ' ,' *' ,' +' ,' ,' ,' .' ,' :' ,' ?' ,' A' ,' B' ,' C' ,' D' ,' E' ,' F' ,' G' ,' H' ,' I' ,' J' ,' K' ,' L' ,' M' ,' N' ,' O' ,' P' ,' Q' ,' R' ,' S' ,' T' ,' U' ,' V' ,' W' ,' 0' ,' X' ,' Y' ,' Z' ,' _' ,' a' ,' b' ,' c' ,' d' ,' e' ,' f' ,' g' ,' h' ,' i' ,' j' ,' k' ,' l' ,' m' ,' n' ,' o' ,' p' ,' q' ,' r' ,' s' ,' t' ,' u' ,' v' ,' w' ,' x' ,' y' ,' z' ,' \x7B ' ,' \x7D ' ,' 1' ,' 2' ,' 3' ,' 4' ,' 5' ,' 6' ,' 7' ,' 8' ,' 9' >) -> ctll::push<ctll::anything, push_character, range, set_start, set2, set_make, ctll::term<']'>>;
207
207
static constexpr auto rule (d, _others) -> ctll::push<ctll::anything, push_character, range, set_start, set2, set_make, ctll::term<']'>>;
208
+ static constexpr auto rule (d, ctll::term<' -' >) -> ctll::push<ctll::anything, push_character, set_start, set2, set_make, ctll::term<']'>>;
208
209
static constexpr auto rule (d, ctll::term<' ^' >) -> ctll::push<ctll::anything, set, set_make_negative, ctll::term<']'>>;
209
- static constexpr auto rule (d, ctll::set<' - ' , ' <' ,' >' ,' ]' ,' |' >) -> ctll::reject;
210
+ static constexpr auto rule (d, ctll::set<' <' ,' >' ,' ]' ,' |' >) -> ctll::reject;
210
211
211
212
static constexpr auto rule (e, ctll::term<' d' >) -> ctll::push<ctll::anything, class_digit>;
212
213
static constexpr auto rule (e, ctll::term<' D' >) -> ctll::push<ctll::anything, class_nondigit>;
@@ -312,7 +313,8 @@ struct pcre {
312
313
static constexpr auto rule (set, ctll::term<' \\ ' >) -> ctll::push<ctll::anything, e, set_start, set2>;
313
314
static constexpr auto rule (set, ctll::set<' $' ,' \x28 ' ,' \x29 ' ,' *' ,' +' ,' ,' ,' .' ,' :' ,' ?' ,' A' ,' B' ,' C' ,' D' ,' E' ,' F' ,' G' ,' H' ,' I' ,' J' ,' K' ,' L' ,' M' ,' N' ,' O' ,' P' ,' Q' ,' R' ,' S' ,' T' ,' U' ,' V' ,' W' ,' 0' ,' X' ,' Y' ,' Z' ,' _' ,' a' ,' b' ,' c' ,' d' ,' e' ,' f' ,' g' ,' h' ,' i' ,' j' ,' k' ,' l' ,' m' ,' n' ,' o' ,' p' ,' q' ,' r' ,' s' ,' t' ,' u' ,' v' ,' w' ,' x' ,' y' ,' z' ,' \x7B ' ,' \x7D ' ,' 1' ,' 2' ,' 3' ,' 4' ,' 5' ,' 6' ,' 7' ,' 8' ,' 9' >) -> ctll::push<ctll::anything, push_character, range, set_start, set2>;
314
315
static constexpr auto rule (set, _others) -> ctll::push<ctll::anything, push_character, range, set_start, set2>;
315
- static constexpr auto rule (set, ctll::set<' -' ,' <' ,' >' ,' ]' ,' ^' ,' |' >) -> ctll::reject;
316
+ static constexpr auto rule (set, ctll::term<' -' >) -> ctll::push<ctll::anything, push_character, set_start, set2>;
317
+ static constexpr auto rule (set, ctll::set<' <' ,' >' ,' ]' ,' ^' ,' |' >) -> ctll::reject;
316
318
317
319
static constexpr auto rule (string2, ctll::set<' \x29 ' ,' |' >) -> ctll::epsilon;
318
320
static constexpr auto rule (string2, ctll::epsilon) -> ctll::epsilon;
0 commit comments