@@ -1011,12 +1011,13 @@ struct pcre {
1011
1011
static constexpr auto rule (backslash, ctll::term<' W' >) -> ctll::push<ctll::anything, class_nonword>;
1012
1012
static constexpr auto rule (backslash, ctll::term<' s' >) -> ctll::push<ctll::anything, class_space>;
1013
1013
static constexpr auto rule (backslash, ctll::term<' w' >) -> ctll::push<ctll::anything, class_word>;
1014
+ static constexpr auto rule (backslash, ctll::set<' 1' ,' 2' ,' 3' ,' 4' ,' 5' ,' 6' ,' 7' ,' 8' ,' 9' >) -> ctll::push<ctll::anything, create_number, make_back_reference>;
1014
1015
static constexpr auto rule (backslash, ctll::term<' g' >) -> ctll::push<ctll::anything, ctll::term<'\x7B'>, m>;
1015
1016
static constexpr auto rule (backslash, ctll::term<' p' >) -> ctll::push<ctll::anything, ctll::term<'\x7B'>, property_name, ctll::term<'\x7D'>, make_property>;
1016
1017
static constexpr auto rule (backslash, ctll::term<' P' >) -> ctll::push<ctll::anything, ctll::term<'\x7B'>, property_name, ctll::term<'\x7D'>, make_property_negative>;
1017
1018
static constexpr auto rule (backslash, ctll::term<' u' >) -> ctll::push<ctll::anything, k>;
1018
1019
static constexpr auto rule (backslash, ctll::term<' x' >) -> ctll::push<ctll::anything, l>;
1019
- static constexpr auto rule (backslash, ctll::set<' $' ,' \x28 ' ,' \x29 ' ,' *' ,' +' ,' -' ,' .' ,' ?' ,' A ' , ' B ' , ' C ' , ' E ' , ' F ' , ' G ' , ' H ' , ' I ' , ' J ' , ' K ' , ' L ' , ' M ' , ' O ' , ' Q ' , ' U ' , ' V ' , ' X ' , ' Y ' , ' Z ' , ' [' ,' \\ ' ,' ]' ,' ^' ,' b ' , ' c ' , ' h ' , ' i ' , ' j ' , ' k ' , ' l ' , ' m ' , ' o ' , ' q ' , ' v ' , ' y ' , ' z ' , ' \x7B ' ,' |' ,' \x7D ' , ' 1 ' , ' 2 ' , ' 3 ' , ' 4 ' , ' 5 ' , ' 6 ' , ' 7 ' , ' 8 ' , ' 9 ' >) -> ctll::push<ctll::anything, push_character>;
1020
+ static constexpr auto rule (backslash, ctll::set<' $' ,' \x28 ' ,' \x29 ' ,' *' ,' +' ,' -' ,' .' ,' ?' ,' [' ,' \\ ' ,' ]' ,' ^' ,' \x7B ' ,' |' ,' \x7D ' >) -> ctll::push<ctll::anything, push_character>;
1020
1021
static constexpr auto rule (backslash, ctll::term<' a' >) -> ctll::push<ctll::anything, push_character_alarm>;
1021
1022
static constexpr auto rule (backslash, ctll::term<' e' >) -> ctll::push<ctll::anything, push_character_escape>;
1022
1023
static constexpr auto rule (backslash, ctll::term<' f' >) -> ctll::push<ctll::anything, push_character_formfeed>;
@@ -1099,12 +1100,13 @@ struct pcre {
1099
1100
static constexpr auto rule (e, ctll::term<' W' >) -> ctll::push<ctll::anything, class_nonword>;
1100
1101
static constexpr auto rule (e, ctll::term<' s' >) -> ctll::push<ctll::anything, class_space>;
1101
1102
static constexpr auto rule (e, ctll::term<' w' >) -> ctll::push<ctll::anything, class_word>;
1103
+ static constexpr auto rule (e, ctll::set<' 1' ,' 2' ,' 3' ,' 4' ,' 5' ,' 6' ,' 7' ,' 8' ,' 9' >) -> ctll::push<ctll::anything, create_number, make_back_reference>;
1102
1104
static constexpr auto rule (e, ctll::term<' p' >) -> ctll::push<ctll::anything, ctll::term<'\x7B'>, property_name, ctll::term<'\x7D'>, make_property>;
1103
1105
static constexpr auto rule (e, ctll::term<' P' >) -> ctll::push<ctll::anything, ctll::term<'\x7B'>, property_name, ctll::term<'\x7D'>, make_property_negative>;
1104
1106
static constexpr auto rule (e, ctll::term<' u' >) -> ctll::push<ctll::anything, k, range>;
1105
1107
static constexpr auto rule (e, ctll::term<' x' >) -> ctll::push<ctll::anything, l, range>;
1106
1108
static constexpr auto rule (e, ctll::term<' -' >) -> ctll::push<ctll::anything, p>;
1107
- static constexpr auto rule (e, ctll::set<' $' ,' \x28 ' ,' \x29 ' ,' *' ,' +' ,' .' ,' ?' ,' A ' , ' B ' , ' C ' , ' E ' , ' F ' , ' G ' , ' H ' , ' I ' , ' J ' , ' K ' , ' L ' , ' M ' , ' O ' , ' Q ' , ' U ' , ' V ' , ' X ' , ' Y ' , ' Z ' , ' [' ,' \\ ' ,' ]' ,' ^' ,' b ' , ' c ' , ' h ' , ' i ' , ' j ' , ' k ' , ' l ' , ' m ' , ' o ' , ' q ' , ' v ' , ' y ' , ' z ' , ' \x7B ' ,' |' ,' \x7D ' , ' 1 ' , ' 2 ' , ' 3 ' , ' 4 ' , ' 5 ' , ' 6 ' , ' 7 ' , ' 8 ' , ' 9 ' >) -> ctll::push<ctll::anything, push_character>;
1109
+ static constexpr auto rule (e, ctll::set<' $' ,' \x28 ' ,' \x29 ' ,' *' ,' +' ,' .' ,' ?' ,' [' ,' \\ ' ,' ]' ,' ^' ,' \x7B ' ,' |' ,' \x7D ' >) -> ctll::push<ctll::anything, push_character>;
1108
1110
static constexpr auto rule (e, ctll::term<' a' >) -> ctll::push<ctll::anything, push_character_alarm, range>;
1109
1111
static constexpr auto rule (e, ctll::term<' e' >) -> ctll::push<ctll::anything, push_character_escape, range>;
1110
1112
static constexpr auto rule (e, ctll::term<' f' >) -> ctll::push<ctll::anything, push_character_formfeed, range>;
@@ -1120,11 +1122,12 @@ struct pcre {
1120
1122
static constexpr auto rule (f, ctll::term<' W' >) -> ctll::push<ctll::anything, class_nonword>;
1121
1123
static constexpr auto rule (f, ctll::term<' s' >) -> ctll::push<ctll::anything, class_space>;
1122
1124
static constexpr auto rule (f, ctll::term<' w' >) -> ctll::push<ctll::anything, class_word>;
1125
+ static constexpr auto rule (f, ctll::set<' 1' ,' 2' ,' 3' ,' 4' ,' 5' ,' 6' ,' 7' ,' 8' ,' 9' >) -> ctll::push<ctll::anything, create_number, make_back_reference>;
1123
1126
static constexpr auto rule (f, ctll::term<' p' >) -> ctll::push<ctll::anything, ctll::term<'\x7B'>, property_name, ctll::term<'\x7D'>, make_property>;
1124
1127
static constexpr auto rule (f, ctll::term<' P' >) -> ctll::push<ctll::anything, ctll::term<'\x7B'>, property_name, ctll::term<'\x7D'>, make_property_negative>;
1125
1128
static constexpr auto rule (f, ctll::term<' u' >) -> ctll::push<ctll::anything, k, range>;
1126
1129
static constexpr auto rule (f, ctll::term<' x' >) -> ctll::push<ctll::anything, l, range>;
1127
- static constexpr auto rule (f, ctll::set<' $' ,' \x28 ' ,' \x29 ' ,' *' ,' +' ,' .' ,' ?' ,' A ' , ' B ' , ' C ' , ' E ' , ' F ' , ' G ' , ' H ' , ' I ' , ' J ' , ' K ' , ' L ' , ' M ' , ' O ' , ' Q ' , ' U ' , ' V ' , ' X ' , ' Y ' , ' Z ' , ' [' ,' \\ ' ,' ]' ,' ^' ,' b ' , ' c ' , ' h ' , ' i ' , ' j ' , ' k ' , ' l ' , ' m ' , ' o ' , ' q ' , ' v ' , ' y ' , ' z ' , ' \x7B ' ,' |' ,' \x7D ' , ' 1 ' , ' 2 ' , ' 3 ' , ' 4 ' , ' 5 ' , ' 6 ' , ' 7 ' , ' 8 ' , ' 9 ' >) -> ctll::push<ctll::anything, push_character>;
1130
+ static constexpr auto rule (f, ctll::set<' $' ,' \x28 ' ,' \x29 ' ,' *' ,' +' ,' .' ,' ?' ,' [' ,' \\ ' ,' ]' ,' ^' ,' \x7B ' ,' |' ,' \x7D ' >) -> ctll::push<ctll::anything, push_character>;
1128
1131
static constexpr auto rule (f, ctll::term<' a' >) -> ctll::push<ctll::anything, push_character_alarm, range>;
1129
1132
static constexpr auto rule (f, ctll::term<' e' >) -> ctll::push<ctll::anything, push_character_escape, range>;
1130
1133
static constexpr auto rule (f, ctll::term<' f' >) -> ctll::push<ctll::anything, push_character_formfeed, range>;
0 commit comments