@@ -20,6 +20,7 @@ struct pcre {
2020 struct c {};
2121 struct class_named_name {};
2222 struct content2 {};
23+ struct content {};
2324 struct content_in_capture {};
2425 struct d {};
2526 struct e {};
@@ -137,8 +138,9 @@ struct pcre {
137138 static constexpr auto rule (s, ctll::set<' !' ,' ,' ,' -' ,' :' ,' <' ,' =' ,' >' ,' A' ,' B' ,' C' ,' D' ,' E' ,' F' ,' G' ,' H' ,' I' ,' J' ,' K' ,' L' ,' M' ,' N' ,' O' ,' P' ,' Q' ,' R' ,' S' ,' T' ,' ]' ,' _' ,' 0' ,' U' ,' V' ,' W' ,' 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' ,' 1' ,' 2' ,' 3' ,' 4' ,' 5' ,' 6' ,' 7' ,' 8' ,' 9' >) -> ctll::push<ctll::anything, push_character, repeat, string2, content2>;
138139 static constexpr auto rule (s, _others) -> ctll::push<ctll::anything, push_character, repeat, string2, content2>;
139140 static constexpr auto rule (s, ctll::term<' .' >) -> ctll::push<ctll::anything, push_character_anything, repeat, string2, content2>;
141+ static constexpr auto rule (s, ctll::term<' |' >) -> ctll::push<ctll::anything, push_empty, content, make_alternate>;
140142 static constexpr auto rule (s, ctll::epsilon) -> ctll::push<push_empty>;
141- static constexpr auto rule (s, ctll::set<' \x29 ' ,' *' ,' +' ,' ?' ,' \x7B ' ,' | ' , ' \x7D ' >) -> ctll::reject;
143+ static constexpr auto rule (s, ctll::set<' \x29 ' ,' *' ,' +' ,' ?' ,' \x7B ' ,' \x7D ' >) -> ctll::reject;
142144
143145 static constexpr auto rule (a, ctll::term<' \\ ' >) -> ctll::push<ctll::anything, backslash, repeat, string2, content2, make_alternate>;
144146 static constexpr auto rule (a, ctll::term<' [' >) -> ctll::push<ctll::anything, c, repeat, string2, content2, make_alternate>;
@@ -201,8 +203,9 @@ struct pcre {
201203 static constexpr auto rule (block, ctll::set<' !' ,' ,' ,' -' ,' :' ,' <' ,' =' ,' >' ,' A' ,' B' ,' C' ,' D' ,' E' ,' F' ,' G' ,' H' ,' I' ,' J' ,' K' ,' L' ,' M' ,' N' ,' O' ,' P' ,' Q' ,' R' ,' S' ,' T' ,' ]' ,' _' ,' 0' ,' U' ,' V' ,' W' ,' 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' ,' 1' ,' 2' ,' 3' ,' 4' ,' 5' ,' 6' ,' 7' ,' 8' ,' 9' >) -> ctll::push<ctll::anything, push_character, repeat, string2, content2, make_capture, ctll::term<'\x29'>>;
202204 static constexpr auto rule (block, _others) -> ctll::push<ctll::anything, push_character, repeat, string2, content2, make_capture, ctll::term<'\x29'>>;
203205 static constexpr auto rule (block, ctll::term<' .' >) -> ctll::push<ctll::anything, push_character_anything, repeat, string2, content2, make_capture, ctll::term<'\x29'>>;
206+ static constexpr auto rule (block, ctll::term<' |' >) -> ctll::push<ctll::anything, push_empty, content, make_alternate, make_capture, ctll::term<'\x29'>>;
204207 static constexpr auto rule (block, ctll::term<' \x29 ' >) -> ctll::push<push_empty, make_capture, ctll::anything>;
205- static constexpr auto rule (block, ctll::set<' *' ,' +' ,' \x7B ' ,' | ' , ' \x7D ' >) -> ctll::reject;
208+ static constexpr auto rule (block, ctll::set<' *' ,' +' ,' \x7B ' ,' \x7D ' >) -> ctll::reject;
206209
207210 static constexpr auto rule (block_name2, ctll::set<' >' ,' \x7D ' >) -> ctll::epsilon;
208211 static constexpr auto rule (block_name2, ctll::set<' 0' ,' 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' ,' _' ,' 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' ,' 1' ,' 2' ,' 3' ,' 4' ,' 5' ,' 6' ,' 7' ,' 8' ,' 9' >) -> ctll::push<ctll::anything, push_name, block_name2>;
@@ -232,6 +235,16 @@ struct pcre {
232235 static constexpr auto rule (content2, ctll::epsilon) -> ctll::epsilon;
233236 static constexpr auto rule (content2, ctll::term<' |' >) -> ctll::push<ctll::anything, a>;
234237
238+ static constexpr auto rule (content, ctll::term<' \\ ' >) -> ctll::push<ctll::anything, backslash, repeat, string2, content2>;
239+ static constexpr auto rule (content, ctll::term<' [' >) -> ctll::push<ctll::anything, c, repeat, string2, content2>;
240+ static constexpr auto rule (content, ctll::term<' \x28 ' >) -> ctll::push<ctll::anything, prepare_capture, block, repeat, string2, content2>;
241+ static constexpr auto rule (content, ctll::term<' ^' >) -> ctll::push<ctll::anything, push_assert_begin, repeat, string2, content2>;
242+ static constexpr auto rule (content, ctll::term<' $' >) -> ctll::push<ctll::anything, push_assert_end, repeat, string2, content2>;
243+ static constexpr auto rule (content, ctll::set<' !' ,' ,' ,' -' ,' :' ,' <' ,' =' ,' >' ,' A' ,' B' ,' C' ,' D' ,' E' ,' F' ,' G' ,' H' ,' I' ,' J' ,' K' ,' L' ,' M' ,' N' ,' O' ,' P' ,' Q' ,' R' ,' S' ,' T' ,' ]' ,' _' ,' 0' ,' U' ,' V' ,' W' ,' 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' ,' 1' ,' 2' ,' 3' ,' 4' ,' 5' ,' 6' ,' 7' ,' 8' ,' 9' >) -> ctll::push<ctll::anything, push_character, repeat, string2, content2>;
244+ static constexpr auto rule (content, _others) -> ctll::push<ctll::anything, push_character, repeat, string2, content2>;
245+ static constexpr auto rule (content, ctll::term<' .' >) -> ctll::push<ctll::anything, push_character_anything, repeat, string2, content2>;
246+ static constexpr auto rule (content, ctll::set<' \x29 ' ,' *' ,' +' ,' ?' ,' \x7B ' ,' |' ,' \x7D ' >) -> ctll::reject;
247+
235248 static constexpr auto rule (content_in_capture, ctll::term<' \\ ' >) -> ctll::push<ctll::anything, backslash, repeat, string2, content2>;
236249 static constexpr auto rule (content_in_capture, ctll::term<' [' >) -> ctll::push<ctll::anything, c, repeat, string2, content2>;
237250 static constexpr auto rule (content_in_capture, ctll::term<' \x28 ' >) -> ctll::push<ctll::anything, prepare_capture, block, repeat, string2, content2>;
@@ -240,8 +253,9 @@ struct pcre {
240253 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' ,' ]' ,' _' ,' 0' ,' U' ,' V' ,' W' ,' 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' ,' 1' ,' 2' ,' 3' ,' 4' ,' 5' ,' 6' ,' 7' ,' 8' ,' 9' >) -> ctll::push<ctll::anything, push_character, repeat, string2, content2>;
241254 static constexpr auto rule (content_in_capture, _others) -> ctll::push<ctll::anything, push_character, repeat, string2, content2>;
242255 static constexpr auto rule (content_in_capture, ctll::term<' .' >) -> ctll::push<ctll::anything, push_character_anything, repeat, string2, content2>;
256+ static constexpr auto rule (content_in_capture, ctll::term<' |' >) -> ctll::push<ctll::anything, push_empty, content, make_alternate>;
243257 static constexpr auto rule (content_in_capture, ctll::term<' \x29 ' >) -> ctll::push<push_empty>;
244- static constexpr auto rule (content_in_capture, ctll::set<' *' ,' +' ,' ?' ,' \x7B ' ,' | ' , ' \x7D ' >) -> ctll::reject;
258+ static constexpr auto rule (content_in_capture, ctll::set<' *' ,' +' ,' ?' ,' \x7B ' ,' \x7D ' >) -> ctll::reject;
245259
246260 static constexpr auto rule (d, ctll::term<' <' >) -> ctll::push<ctll::anything, block_name, ctll::term<'>'>, content_in_capture, make_capture_with_name, ctll::term<'\x29'>>;
247261 static constexpr auto rule (d, ctll::term<' :' >) -> ctll::push<reset_capture, ctll::anything, content_in_capture, ctll::term<'\x29'>>;
0 commit comments