Lines Matching refs:__first

2560         basic_regex(_ForwardIterator __first, _ForwardIterator __last,
2564 {__parse(__first, __last);}
2620 assign(_InputIterator __first, _InputIterator __last,
2623 basic_string<_CharT> __t(__first, __last);
2646 assign(_ForwardIterator __first, _ForwardIterator __last,
2649 return assign(basic_regex(__first, __last, __f));
2687 __parse(_ForwardIterator __first, _ForwardIterator __last);
2690 __parse_basic_reg_exp(_ForwardIterator __first, _ForwardIterator __last);
2693 __parse_RE_expression(_ForwardIterator __first, _ForwardIterator __last);
2696 __parse_simple_RE(_ForwardIterator __first, _ForwardIterator __last);
2699 __parse_nondupl_RE(_ForwardIterator __first, _ForwardIterator __last);
2702 __parse_one_char_or_coll_elem_RE(_ForwardIterator __first, _ForwardIterator __last);
2705 __parse_Back_open_paren(_ForwardIterator __first, _ForwardIterator __last);
2708 __parse_Back_close_paren(_ForwardIterator __first, _ForwardIterator __last);
2711 __parse_Back_open_brace(_ForwardIterator __first, _ForwardIterator __last);
2714 __parse_Back_close_brace(_ForwardIterator __first, _ForwardIterator __last);
2717 __parse_BACKREF(_ForwardIterator __first, _ForwardIterator __last);
2720 __parse_ORD_CHAR(_ForwardIterator __first, _ForwardIterator __last);
2723 __parse_QUOTED_CHAR(_ForwardIterator __first, _ForwardIterator __last);
2726 __parse_RE_dupl_symbol(_ForwardIterator __first, _ForwardIterator __last,
2731 __parse_ERE_dupl_symbol(_ForwardIterator __first, _ForwardIterator __last,
2736 __parse_bracket_expression(_ForwardIterator __first, _ForwardIterator __last);
2739 __parse_follow_list(_ForwardIterator __first, _ForwardIterator __last,
2743 __parse_expression_term(_ForwardIterator __first, _ForwardIterator __last,
2747 __parse_equivalence_class(_ForwardIterator __first, _ForwardIterator __last,
2751 __parse_character_class(_ForwardIterator __first, _ForwardIterator __last,
2755 __parse_collating_symbol(_ForwardIterator __first, _ForwardIterator __last,
2759 __parse_DUP_COUNT(_ForwardIterator __first, _ForwardIterator __last, int& __c);
2762 __parse_extended_reg_exp(_ForwardIterator __first, _ForwardIterator __last);
2765 __parse_ERE_branch(_ForwardIterator __first, _ForwardIterator __last);
2768 __parse_ERE_expression(_ForwardIterator __first, _ForwardIterator __last);
2771 __parse_one_char_or_coll_elem_ERE(_ForwardIterator __first, _ForwardIterator __last);
2774 __parse_ORD_CHAR_ERE(_ForwardIterator __first, _ForwardIterator __last);
2777 __parse_QUOTED_CHAR_ERE(_ForwardIterator __first, _ForwardIterator __last);
2780 __parse_ecma_exp(_ForwardIterator __first, _ForwardIterator __last);
2783 __parse_alternative(_ForwardIterator __first, _ForwardIterator __last);
2786 __parse_term(_ForwardIterator __first, _ForwardIterator __last);
2789 __parse_assertion(_ForwardIterator __first, _ForwardIterator __last);
2792 __parse_atom(_ForwardIterator __first, _ForwardIterator __last);
2795 __parse_atom_escape(_ForwardIterator __first, _ForwardIterator __last);
2798 __parse_decimal_escape(_ForwardIterator __first, _ForwardIterator __last);
2801 __parse_character_class_escape(_ForwardIterator __first, _ForwardIterator __last);
2804 __parse_character_escape(_ForwardIterator __first, _ForwardIterator __last,
2808 __parse_pattern_character(_ForwardIterator __first, _ForwardIterator __last);
2811 __parse_grep(_ForwardIterator __first, _ForwardIterator __last);
2814 __parse_egrep(_ForwardIterator __first, _ForwardIterator __last);
2817 __parse_class_escape(_ForwardIterator __first, _ForwardIterator __last,
2822 __parse_awk_escape(_ForwardIterator __first, _ForwardIterator __last,
2856 __search(const _CharT* __first, const _CharT* __last,
2862 __match_at_start(const _CharT* __first, const _CharT* __last,
2867 __match_at_start_ecma(const _CharT* __first, const _CharT* __last,
2872 __match_at_start_posix_nosubs(const _CharT* __first, const _CharT* __last,
2877 __match_at_start_posix_subs(const _CharT* __first, const _CharT* __last,
2929 regex_search(__wrap_iter<_Iter> __first,
3044 basic_regex<_CharT, _Traits>::__parse(_ForwardIterator __first,
3056 __first = __parse_ecma_exp(__first, __last);
3059 __first = __parse_basic_reg_exp(__first, __last);
3063 __first = __parse_extended_reg_exp(__first, __last);
3066 __first = __parse_grep(__first, __last);
3069 __first = __parse_egrep(__first, __last);
3074 return __first;
3080 basic_regex<_CharT, _Traits>::__parse_basic_reg_exp(_ForwardIterator __first,
3083 if (__first != __last)
3085 if (*__first == '^')
3088 ++__first;
3090 if (__first != __last)
3092 __first = __parse_RE_expression(__first, __last);
3093 if (__first != __last)
3095 _ForwardIterator __temp = _VSTD::next(__first);
3096 if (__temp == __last && *__first == '$')
3099 ++__first;
3103 if (__first != __last)
3106 return __first;
3112 basic_regex<_CharT, _Traits>::__parse_extended_reg_exp(_ForwardIterator __first,
3116 _ForwardIterator __temp = __parse_ERE_branch(__first, __last);
3117 if (__temp == __first)
3119 __first = __temp;
3120 while (__first != __last && *__first == '|')
3123 __temp = __parse_ERE_branch(++__first, __last);
3124 if (__temp == __first)
3127 __first = __temp;
3129 return __first;
3135 basic_regex<_CharT, _Traits>::__parse_ERE_branch(_ForwardIterator __first,
3138 _ForwardIterator __temp = __parse_ERE_expression(__first, __last);
3139 if (__temp == __first)
3143 __first = __temp;
3144 __temp = __parse_ERE_expression(__first, __last);
3145 } while (__temp != __first);
3146 return __first;
3152 basic_regex<_CharT, _Traits>::__parse_ERE_expression(_ForwardIterator __first,
3157 _ForwardIterator __temp = __parse_one_char_or_coll_elem_ERE(__first, __last);
3158 if (__temp == __first && __temp != __last)
3183 if (__temp != __first)
3186 __first = __temp;
3187 return __first;
3193 basic_regex<_CharT, _Traits>::__parse_RE_expression(_ForwardIterator __first,
3198 _ForwardIterator __temp = __parse_simple_RE(__first, __last);
3199 if (__temp == __first)
3201 __first = __temp;
3203 return __first;
3209 basic_regex<_CharT, _Traits>::__parse_simple_RE(_ForwardIterator __first,
3212 if (__first != __last)
3216 _ForwardIterator __temp = __parse_nondupl_RE(__first, __last);
3217 if (__temp != __first)
3218 __first = __parse_RE_dupl_symbol(__temp, __last, __e,
3221 return __first;
3227 basic_regex<_CharT, _Traits>::__parse_nondupl_RE(_ForwardIterator __first,
3230 _ForwardIterator __temp = __first;
3231 __first = __parse_one_char_or_coll_elem_RE(__first, __last);
3232 if (__temp == __first)
3234 __temp = __parse_Back_open_paren(__first, __last);
3235 if (__temp != __first)
3239 __first = __parse_RE_expression(__temp, __last);
3240 __temp = __parse_Back_close_paren(__first, __last);
3241 if (__temp == __first)
3244 __first = __temp;
3247 __first = __parse_BACKREF(__first, __last);
3249 return __first;
3256 _ForwardIterator __first,
3259 _ForwardIterator __temp = __parse_ORD_CHAR(__first, __last);
3260 if (__temp == __first)
3262 __temp = __parse_QUOTED_CHAR(__first, __last);
3263 if (__temp == __first)
3271 __temp = __parse_bracket_expression(__first, __last);
3274 __first = __temp;
3275 return __first;
3282 _ForwardIterator __first,
3285 _ForwardIterator __temp = __parse_ORD_CHAR_ERE(__first, __last);
3286 if (__temp == __first)
3288 __temp = __parse_QUOTED_CHAR_ERE(__first, __last);
3289 if (__temp == __first)
3297 __temp = __parse_bracket_expression(__first, __last);
3300 __first = __temp;
3301 return __first;
3307 basic_regex<_CharT, _Traits>::__parse_Back_open_paren(_ForwardIterator __first,
3310 if (__first != __last)
3312 _ForwardIterator __temp = _VSTD::next(__first);
3315 if (*__first == '\\' && *__temp == '(')
3316 __first = ++__temp;
3319 return __first;
3325 basic_regex<_CharT, _Traits>::__parse_Back_close_paren(_ForwardIterator __first,
3328 if (__first != __last)
3330 _ForwardIterator __temp = _VSTD::next(__first);
3333 if (*__first == '\\' && *__temp == ')')
3334 __first = ++__temp;
3337 return __first;
3343 basic_regex<_CharT, _Traits>::__parse_Back_open_brace(_ForwardIterator __first,
3346 if (__first != __last)
3348 _ForwardIterator __temp = _VSTD::next(__first);
3351 if (*__first == '\\' && *__temp == '{')
3352 __first = ++__temp;
3355 return __first;
3361 basic_regex<_CharT, _Traits>::__parse_Back_close_brace(_ForwardIterator __first,
3364 if (__first != __last)
3366 _ForwardIterator __temp = _VSTD::next(__first);
3369 if (*__first == '\\' && *__temp == '}')
3370 __first = ++__temp;
3373 return __first;
3379 basic_regex<_CharT, _Traits>::__parse_BACKREF(_ForwardIterator __first,
3382 if (__first != __last)
3384 _ForwardIterator __temp = _VSTD::next(__first);
3387 if (*__first == '\\')
3393 __first = ++__temp;
3398 return __first;
3404 basic_regex<_CharT, _Traits>::__parse_ORD_CHAR(_ForwardIterator __first,
3407 if (__first != __last)
3409 _ForwardIterator __temp = _VSTD::next(__first);
3410 if (__temp == __last && *__first == '$')
3411 return __first;
3413 if (*__first == '.' || *__first == '\\' || *__first == '[')
3414 return __first;
3415 __push_char(*__first);
3416 ++__first;
3418 return __first;
3424 basic_regex<_CharT, _Traits>::__parse_ORD_CHAR_ERE(_ForwardIterator __first,
3427 if (__first != __last)
3429 switch (*__first)
3446 __push_char(*__first);
3447 ++__first;
3451 __push_char(*__first);
3452 ++__first;
3456 return __first;
3462 basic_regex<_CharT, _Traits>::__parse_QUOTED_CHAR(_ForwardIterator __first,
3465 if (__first != __last)
3467 _ForwardIterator __temp = _VSTD::next(__first);
3470 if (*__first == '\\')
3481 __first = ++__temp;
3487 return __first;
3493 basic_regex<_CharT, _Traits>::__parse_QUOTED_CHAR_ERE(_ForwardIterator __first,
3496 if (__first != __last)
3498 _ForwardIterator __temp = _VSTD::next(__first);
3501 if (*__first == '\\')
3519 __first = ++__temp;
3523 __first = __parse_awk_escape(++__first, __last);
3529 return __first;
3535 basic_regex<_CharT, _Traits>::__parse_RE_dupl_symbol(_ForwardIterator __first,
3541 if (__first != __last)
3543 if (*__first == '*')
3546 ++__first;
3550 _ForwardIterator __temp = __parse_Back_open_brace(__first, __last);
3551 if (__temp != __first)
3554 __first = __temp;
3555 __temp = __parse_DUP_COUNT(__first, __last, __min);
3556 if (__temp == __first)
3558 __first = __temp;
3559 if (__first == __last)
3561 if (*__first != ',')
3563 __temp = __parse_Back_close_brace(__first, __last);
3564 if (__temp == __first)
3568 __first = __temp;
3572 ++__first; // consume ','
3574 __first = __parse_DUP_COUNT(__first, __last, __max);
3575 __temp = __parse_Back_close_brace(__first, __last);
3576 if (__temp == __first)
3587 __first = __temp;
3592 return __first;
3598 basic_regex<_CharT, _Traits>::__parse_ERE_dupl_symbol(_ForwardIterator __first,
3604 if (__first != __last)
3607 switch (*__first)
3610 ++__first;
3611 if (__grammar == ECMAScript && __first != __last && *__first == '?')
3613 ++__first;
3620 ++__first;
3621 if (__grammar == ECMAScript && __first != __last && *__first == '?')
3623 ++__first;
3630 ++__first;
3631 if (__grammar == ECMAScript && __first != __last && *__first == '?')
3633 ++__first;
3642 _ForwardIterator __temp = __parse_DUP_COUNT(++__first, __last, __min);
3643 if (__temp == __first)
3645 __first = __temp;
3646 if (__first == __last)
3648 switch (*__first)
3651 ++__first;
3652 if (__grammar == ECMAScript && __first != __last && *__first == '?')
3654 ++__first;
3661 ++__first;
3662 if (__first == __last)
3664 if (*__first == '}')
3666 ++__first;
3667 if (__grammar == ECMAScript && __first != __last && *__first == '?')
3669 ++__first;
3678 __temp = __parse_DUP_COUNT(__first, __last, __max);
3679 if (__temp == __first)
3681 __first = __temp;
3682 if (__first == __last || *__first != '}')
3684 ++__first;
3687 if (__grammar == ECMAScript && __first != __last && *__first == '?')
3689 ++__first;
3703 return __first;
3709 basic_regex<_CharT, _Traits>::__parse_bracket_expression(_ForwardIterator __first,
3712 if (__first != __last && *__first == '[')
3714 ++__first;
3715 if (__first == __last)
3718 if (*__first == '^')
3720 ++__first;
3725 if (__first == __last)
3727 if ((__flags_ & 0x1F0) != ECMAScript && *__first == ']')
3730 ++__first;
3732 __first = __parse_follow_list(__first, __last, __ml);
3733 if (__first == __last)
3735 if (*__first == '-')
3738 ++__first;
3740 if (__first == __last || *__first != ']')
3742 ++__first;
3744 return __first;
3750 basic_regex<_CharT, _Traits>::__parse_follow_list(_ForwardIterator __first,
3754 if (__first != __last)
3758 _ForwardIterator __temp = __parse_expression_term(__first, __last,
3760 if (__temp == __first)
3762 __first = __temp;
3765 return __first;
3771 basic_regex<_CharT, _Traits>::__parse_expression_term(_ForwardIterator __first,
3775 if (__first != __last && *__first != ']')
3777 _ForwardIterator __temp = _VSTD::next(__first);
3779 if (__temp != __last && *__first == '[')
3786 __first = __parse_collating_symbol(++__temp, __last, __start_range);
3791 if ((__grammar == ECMAScript || __grammar == awk) && *__first == '\\')
3794 __first = __parse_class_escape(++__first, __last, __start_range, __ml);
3796 __first = __parse_awk_escape(++__first, __last, &__start_range);
3800 __start_range = *__first;
3801 ++__first;
3804 if (__first != __last && *__first != ']')
3806 __temp = _VSTD::next(__first);
3807 if (__temp != __last && *__first == '-' && *__temp != ']')
3811 __first = __temp;
3813 if (__temp != __last && *__first == '[' && *__temp == '.')
3814 __first = __parse_collating_symbol(++__temp, __last, __end_range);
3817 if ((__grammar == ECMAScript || __grammar == awk) && *__first == '\\')
3820 __first = __parse_class_escape(++__first, __last,
3823 __first = __parse_awk_escape(++__first, __last,
3828 __end_range = *__first;
3829 ++__first;
3850 return __first;
3856 basic_regex<_CharT, _Traits>::__parse_class_escape(_ForwardIterator __first,
3861 if (__first == __last)
3863 switch (*__first)
3866 __str = *__first;
3867 return ++__first;
3870 return ++__first;
3873 return ++__first;
3876 return ++__first;
3879 return ++__first;
3882 return ++__first;
3886 return ++__first;
3890 return ++__first;
3892 __first = __parse_character_escape(__first, __last, &__str);
3893 return __first;
3899 basic_regex<_CharT, _Traits>::__parse_awk_escape(_ForwardIterator __first,
3903 if (__first == __last)
3905 switch (*__first)
3911 *__str = *__first;
3913 __push_char(*__first);
3914 return ++__first;
3920 return ++__first;
3926 return ++__first;
3932 return ++__first;
3938 return ++__first;
3944 return ++__first;
3950 return ++__first;
3956 return ++__first;
3958 if ('0' <= *__first && *__first <= '7')
3960 unsigned __val = *__first - '0';
3961 if (++__first != __last && ('0' <= *__first && *__first <= '7'))
3963 __val = 8 * __val + *__first - '0';
3964 if (++__first != __last && ('0' <= *__first && *__first <= '7'))
3965 __val = 8 * __val + *__first++ - '0';
3974 return __first;
3980 basic_regex<_CharT, _Traits>::__parse_equivalence_class(_ForwardIterator __first,
3987 _ForwardIterator __temp = _VSTD::search(__first, __last, _Equal_close,
3991 // [__first, __temp) contains all text in [= ... =]
3993 __traits_.lookup_collatename(__first, __temp);
4015 __first = _VSTD::next(__temp, 2);
4016 return __first;
4022 basic_regex<_CharT, _Traits>::__parse_character_class(_ForwardIterator __first,
4029 _ForwardIterator __temp = _VSTD::search(__first, __last, _Colon_close,
4033 // [__first, __temp) contains all text in [: ... :]
4036 __traits_.lookup_classname(__first, __temp, __flags_ & icase);
4040 __first = _VSTD::next(__temp, 2);
4041 return __first;
4047 basic_regex<_CharT, _Traits>::__parse_collating_symbol(_ForwardIterator __first,
4054 _ForwardIterator __temp = _VSTD::search(__first, __last, _Dot_close,
4058 // [__first, __temp) contains all text in [. ... .]
4059 __col_sym = __traits_.lookup_collatename(__first, __temp);
4068 __first = _VSTD::next(__temp, 2);
4069 return __first;
4075 basic_regex<_CharT, _Traits>::__parse_DUP_COUNT(_ForwardIterator __first,
4079 if (__first != __last )
4081 int __val = __traits_.value(*__first, 10);
4085 for (++__first;
4086 __first != __last && ( __val = __traits_.value(*__first, 10)) != -1;
4087 ++__first)
4096 return __first;
4102 basic_regex<_CharT, _Traits>::__parse_ecma_exp(_ForwardIterator __first,
4106 _ForwardIterator __temp = __parse_alternative(__first, __last);
4107 if (__temp == __first)
4109 __first = __temp;
4110 while (__first != __last && *__first == '|')
4113 __temp = __parse_alternative(++__first, __last);
4114 if (__temp == __first)
4117 __first = __temp;
4119 return __first;
4125 basic_regex<_CharT, _Traits>::__parse_alternative(_ForwardIterator __first,
4130 _ForwardIterator __temp = __parse_term(__first, __last);
4131 if (__temp == __first)
4133 __first = __temp;
4135 return __first;
4141 basic_regex<_CharT, _Traits>::__parse_term(_ForwardIterator __first,
4144 _ForwardIterator __temp = __parse_assertion(__first, __last);
4145 if (__temp == __first)
4149 __temp = __parse_atom(__first, __last);
4150 if (__temp != __first)
4151 __first = __parse_ERE_dupl_symbol(__temp, __last, __e,
4155 __first = __temp;
4156 return __first;
4162 basic_regex<_CharT, _Traits>::__parse_assertion(_ForwardIterator __first,
4165 if (__first != __last)
4167 switch (*__first)
4171 ++__first;
4175 ++__first;
4179 _ForwardIterator __temp = _VSTD::next(__first);
4185 __first = ++__temp;
4190 __first = ++__temp;
4197 _ForwardIterator __temp = _VSTD::next(__first);
4214 __first = ++__temp;
4227 __first = ++__temp;
4237 return __first;
4243 basic_regex<_CharT, _Traits>::__parse_atom(_ForwardIterator __first,
4246 if (__first != __last)
4248 switch (*__first)
4252 ++__first;
4255 __first = __parse_atom_escape(__first, __last);
4258 __first = __parse_bracket_expression(__first, __last);
4262 ++__first;
4263 if (__first == __last)
4265 _ForwardIterator __temp = _VSTD::next(__first);
4266 if (__temp != __last && *__first == '?' && *__temp == ':')
4269 __first = __parse_ecma_exp(++__temp, __last);
4270 if (__first == __last || *__first != ')')
4273 ++__first;
4280 __first = __parse_ecma_exp(__first, __last);
4281 if (__first == __last || *__first != ')')
4285 ++__first;
4296 __first = __parse_pattern_character(__first, __last);
4300 return __first;
4306 basic_regex<_CharT, _Traits>::__parse_atom_escape(_ForwardIterator __first,
4309 if (__first != __last && *__first == '\\')
4311 _ForwardIterator __t1 = _VSTD::next(__first);
4317 __first = __t2;
4322 __first = __t2;
4327 __first = __t2;
4331 return __first;
4337 basic_regex<_CharT, _Traits>::__parse_decimal_escape(_ForwardIterator __first,
4340 if (__first != __last)
4342 if (*__first == '0')
4345 ++__first;
4347 else if ('1' <= *__first && *__first <= '9')
4349 unsigned __v = *__first - '0';
4350 for (++__first;
4351 __first != __last && '0' <= *__first && *__first <= '9'; ++__first)
4355 __v = 10 * __v + *__first - '0';
4362 return __first;
4368 basic_regex<_CharT, _Traits>::__parse_character_class_escape(_ForwardIterator __first,
4371 if (__first != __last)
4374 switch (*__first)
4379 ++__first;
4384 ++__first;
4389 ++__first;
4394 ++__first;
4400 ++__first;
4406 ++__first;
4410 return __first;
4416 basic_regex<_CharT, _Traits>::__parse_character_escape(_ForwardIterator __first,
4420 if (__first != __last)
4425 switch (*__first)
4432 ++__first;
4439 ++__first;
4446 ++__first;
4453 ++__first;
4460 ++__first;
4463 if ((__t = _VSTD::next(__first)) != __last)
4472 __first = ++__t;
4481 ++__first;
4482 if (__first == __last)
4484 __hd = __traits_.value(*__first, 16);
4488 ++__first;
4489 if (__first == __last)
4491 __hd = __traits_.value(*__first, 16);
4497 ++__first;
4498 if (__first == __last)
4500 __hd = __traits_.value(*__first, 16);
4504 ++__first;
4505 if (__first == __last)
4507 __hd = __traits_.value(*__first, 16);
4515 ++__first;
4522 ++__first;
4525 if (*__first != '_' && !__traits_.isctype(*__first, ctype_base::alnum))
4528 *__str = *__first;
4530 __push_char(*__first);
4531 ++__first;
4538 return __first;
4544 basic_regex<_CharT, _Traits>::__parse_pattern_character(_ForwardIterator __first,
4547 if (__first != __last)
4549 switch (*__first)
4567 __push_char(*__first);
4568 ++__first;
4572 return __first;
4578 basic_regex<_CharT, _Traits>::__parse_grep(_ForwardIterator __first,
4582 _ForwardIterator __t1 = _VSTD::find(__first, __last, _CharT('\n'));
4583 if (__t1 != __first)
4584 __parse_basic_reg_exp(__first, __t1);
4587 __first = __t1;
4588 if (__first != __last)
4589 ++__first;
4590 while (__first != __last)
4592 __t1 = _VSTD::find(__first, __last, _CharT('\n'));
4594 if (__t1 != __first)
4595 __parse_basic_reg_exp(__first, __t1);
4599 __first = __t1;
4600 if (__first != __last)
4601 ++__first;
4603 return __first;
4609 basic_regex<_CharT, _Traits>::__parse_egrep(_ForwardIterator __first,
4613 _ForwardIterator __t1 = _VSTD::find(__first, __last, _CharT('\n'));
4614 if (__t1 != __first)
4615 __parse_extended_reg_exp(__first, __t1);
4618 __first = __t1;
4619 if (__first != __last)
4620 ++__first;
4621 while (__first != __last)
4623 __t1 = _VSTD::find(__first, __last, _CharT('\n'));
4625 if (__t1 != __first)
4626 __parse_extended_reg_exp(__first, __t1);
4630 __first = __t1;
4631 if (__first != __last)
4632 ++__first;
4634 return __first;
5570 const _CharT* __first, const _CharT* __last,
5585 __states.back().__first_ = __first;
5586 __states.back().__current_ = __first;
5594 int __length = __last - __first;
5608 __s.__current_ == __first)
5619 __m.__matches_[0].first = __first;
5620 __m.__matches_[0].second = _VSTD::next(__first, __s.__current_ - __first);
5654 const _CharT* __first, const _CharT* __last,
5660 ptrdiff_t _Np = _VSTD::distance(__first, __last);
5666 __states.back().__first_ = __first;
5667 __states.back().__current_ = __first;
5675 int __length = __last - __first;
5689 __s.__current_ == __first)
5735 __m.__matches_[0].first = __first;
5736 __m.__matches_[0].second = _VSTD::next(__first, __highest_j);
5748 const _CharT* __first, const _CharT* __last,
5756 ptrdiff_t _Np = _VSTD::distance(__first, __last);
5767 __states.back().__first_ = __first;
5768 __states.back().__current_ = __first;
5775 const _CharT* __current = __first;
5778 int __length = __last - __first;
5792 __s.__current_ == __first)
5839 __m.__matches_[0].first = __first;
5840 __m.__matches_[0].second = _VSTD::next(__first, __highest_j);
5854 const _CharT* __first, const _CharT* __last,
5859 return __match_at_start_ecma(__first, __last, __m, __flags, __at_first);
5861 return __match_at_start_posix_nosubs(__first, __last, __m, __flags, __at_first);
5862 return __match_at_start_posix_subs(__first, __last, __m, __flags, __at_first);
5869 const _CharT* __first, const _CharT* __last,
5873 __m.__init(1 + mark_count(), __first, __last,
5875 if (__match_at_start(__first, __last, __m, __flags,
5884 if (__first != __last && !(__flags & regex_constants::match_continuous))
5887 for (++__first; __first != __last; ++__first)
5890 if (__match_at_start(__first, __last, __m, __flags, false))
5908 regex_search(_BidirectionalIterator __first, _BidirectionalIterator __last,
5914 basic_string<_CharT> __s(_VSTD::prev(__first, __offset), __last);
5917 __m.__assign(__first, __last, __mc, __flags & regex_constants::__no_update_pos);
5924 regex_search(__wrap_iter<_Iter> __first,
5931 bool __r = __e.__search(__first.base(), __last.base(), __mc, __flags);
5932 __m.__assign(__first, __last, __mc, __flags & regex_constants::__no_update_pos);
5939 regex_search(const _CharT* __first, const _CharT* __last,
5944 return __e.__search(__first, __last, __m, __flags);
5950 regex_search(_BidirectionalIterator __first, _BidirectionalIterator __last,
5954 basic_string<_CharT> __s(__first, __last);
5962 regex_search(const _CharT* __first, const _CharT* __last,
5967 return __e.__search(__first, __last, __mc, __flags);
6028 regex_match(_BidirectionalIterator __first, _BidirectionalIterator __last,
6034 __first, __last, __m, __e,
6049 regex_match(_BidirectionalIterator __first, _BidirectionalIterator __last,
6054 return _VSTD::regex_match(__first, __last, __m, __e, __flags);
6520 _BidirectionalIterator __first, _BidirectionalIterator __last,
6525 _Iter __i(__first, __last, __e, __flags);
6530 __output_iter = _VSTD::copy(__first, __last, __output_iter);
6555 _BidirectionalIterator __first, _BidirectionalIterator __last,
6560 return _VSTD::regex_replace(__output_iter, __first, __last, __e, __fmt.c_str(), __flags);