Lines Matching refs:__last
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,
2930 __wrap_iter<_Iter> __last,
3045 _ForwardIterator __last)
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);
3081 _ForwardIterator __last)
3083 if (__first != __last)
3090 if (__first != __last)
3092 __first = __parse_RE_expression(__first, __last);
3093 if (__first != __last)
3096 if (__temp == __last && *__first == '$')
3103 if (__first != __last)
3113 _ForwardIterator __last)
3116 _ForwardIterator __temp = __parse_ERE_branch(__first, __last);
3120 while (__first != __last && *__first == '|')
3123 __temp = __parse_ERE_branch(++__first, __last);
3136 _ForwardIterator __last)
3138 _ForwardIterator __temp = __parse_ERE_expression(__first, __last);
3144 __temp = __parse_ERE_expression(__first, __last);
3153 _ForwardIterator __last)
3157 _ForwardIterator __temp = __parse_one_char_or_coll_elem_ERE(__first, __last);
3158 if (__temp == __first && __temp != __last)
3174 __temp = __parse_extended_reg_exp(++__temp, __last);
3175 if (__temp == __last || *__temp != ')')
3184 __temp = __parse_ERE_dupl_symbol(__temp, __last, __e, __mexp_begin+1,
3194 _ForwardIterator __last)
3198 _ForwardIterator __temp = __parse_simple_RE(__first, __last);
3210 _ForwardIterator __last)
3212 if (__first != __last)
3216 _ForwardIterator __temp = __parse_nondupl_RE(__first, __last);
3218 __first = __parse_RE_dupl_symbol(__temp, __last, __e,
3228 _ForwardIterator __last)
3231 __first = __parse_one_char_or_coll_elem_RE(__first, __last);
3234 __temp = __parse_Back_open_paren(__first, __last);
3239 __first = __parse_RE_expression(__temp, __last);
3240 __temp = __parse_Back_close_paren(__first, __last);
3247 __first = __parse_BACKREF(__first, __last);
3257 _ForwardIterator __last)
3259 _ForwardIterator __temp = __parse_ORD_CHAR(__first, __last);
3262 __temp = __parse_QUOTED_CHAR(__first, __last);
3265 if (__temp != __last && *__temp == '.')
3271 __temp = __parse_bracket_expression(__first, __last);
3283 _ForwardIterator __last)
3285 _ForwardIterator __temp = __parse_ORD_CHAR_ERE(__first, __last);
3288 __temp = __parse_QUOTED_CHAR_ERE(__first, __last);
3291 if (__temp != __last && *__temp == '.')
3297 __temp = __parse_bracket_expression(__first, __last);
3308 _ForwardIterator __last)
3310 if (__first != __last)
3313 if (__temp != __last)
3326 _ForwardIterator __last)
3328 if (__first != __last)
3331 if (__temp != __last)
3344 _ForwardIterator __last)
3346 if (__first != __last)
3349 if (__temp != __last)
3362 _ForwardIterator __last)
3364 if (__first != __last)
3367 if (__temp != __last)
3380 _ForwardIterator __last)
3382 if (__first != __last)
3385 if (__temp != __last)
3405 _ForwardIterator __last)
3407 if (__first != __last)
3410 if (__temp == __last && *__first == '$')
3425 _ForwardIterator __last)
3427 if (__first != __last)
3463 _ForwardIterator __last)
3465 if (__first != __last)
3468 if (__temp != __last)
3494 _ForwardIterator __last)
3496 if (__first != __last)
3499 if (__temp != __last)
3523 __first = __parse_awk_escape(++__first, __last);
3536 _ForwardIterator __last,
3541 if (__first != __last)
3550 _ForwardIterator __temp = __parse_Back_open_brace(__first, __last);
3555 __temp = __parse_DUP_COUNT(__first, __last, __min);
3559 if (__first == __last)
3563 __temp = __parse_Back_close_brace(__first, __last);
3574 __first = __parse_DUP_COUNT(__first, __last, __max);
3575 __temp = __parse_Back_close_brace(__first, __last);
3599 _ForwardIterator __last,
3604 if (__first != __last)
3611 if (__grammar == ECMAScript && __first != __last && *__first == '?')
3621 if (__grammar == ECMAScript && __first != __last && *__first == '?')
3631 if (__grammar == ECMAScript && __first != __last && *__first == '?')
3642 _ForwardIterator __temp = __parse_DUP_COUNT(++__first, __last, __min);
3646 if (__first == __last)
3652 if (__grammar == ECMAScript && __first != __last && *__first == '?')
3662 if (__first == __last)
3667 if (__grammar == ECMAScript && __first != __last && *__first == '?')
3678 __temp = __parse_DUP_COUNT(__first, __last, __max);
3682 if (__first == __last || *__first != '}')
3687 if (__grammar == ECMAScript && __first != __last && *__first == '?')
3710 _ForwardIterator __last)
3712 if (__first != __last && *__first == '[')
3715 if (__first == __last)
3725 if (__first == __last)
3732 __first = __parse_follow_list(__first, __last, __ml);
3733 if (__first == __last)
3740 if (__first == __last || *__first != ']')
3751 _ForwardIterator __last,
3754 if (__first != __last)
3758 _ForwardIterator __temp = __parse_expression_term(__first, __last,
3772 _ForwardIterator __last,
3775 if (__first != __last && *__first != ']')
3779 if (__temp != __last && *__first == '[')
3782 return __parse_equivalence_class(++__temp, __last, __ml);
3784 return __parse_character_class(++__temp, __last, __ml);
3786 __first = __parse_collating_symbol(++__temp, __last, __start_range);
3794 __first = __parse_class_escape(++__first, __last, __start_range, __ml);
3796 __first = __parse_awk_escape(++__first, __last, &__start_range);
3804 if (__first != __last && *__first != ']')
3807 if (__temp != __last && *__first == '-' && *__temp != ']')
3813 if (__temp != __last && *__first == '[' && *__temp == '.')
3814 __first = __parse_collating_symbol(++__temp, __last, __end_range);
3820 __first = __parse_class_escape(++__first, __last,
3823 __first = __parse_awk_escape(++__first, __last,
3857 _ForwardIterator __last,
3861 if (__first == __last)
3892 __first = __parse_character_escape(__first, __last, &__str);
3900 _ForwardIterator __last,
3903 if (__first == __last)
3961 if (++__first != __last && ('0' <= *__first && *__first <= '7'))
3964 if (++__first != __last && ('0' <= *__first && *__first <= '7'))
3981 _ForwardIterator __last,
3987 _ForwardIterator __temp = _VSTD::search(__first, __last, _Equal_close,
3989 if (__temp == __last)
4023 _ForwardIterator __last,
4029 _ForwardIterator __temp = _VSTD::search(__first, __last, _Colon_close,
4031 if (__temp == __last)
4048 _ForwardIterator __last,
4054 _ForwardIterator __temp = _VSTD::search(__first, __last, _Dot_close,
4056 if (__temp == __last)
4076 _ForwardIterator __last,
4079 if (__first != __last )
4086 __first != __last && ( __val = __traits_.value(*__first, 10)) != -1;
4103 _ForwardIterator __last)
4106 _ForwardIterator __temp = __parse_alternative(__first, __last);
4110 while (__first != __last && *__first == '|')
4113 __temp = __parse_alternative(++__first, __last);
4126 _ForwardIterator __last)
4130 _ForwardIterator __temp = __parse_term(__first, __last);
4142 _ForwardIterator __last)
4144 _ForwardIterator __temp = __parse_assertion(__first, __last);
4149 __temp = __parse_atom(__first, __last);
4151 __first = __parse_ERE_dupl_symbol(__temp, __last, __e,
4163 _ForwardIterator __last)
4165 if (__first != __last)
4180 if (__temp != __last)
4198 if (__temp != __last && *__temp == '?')
4200 if (++__temp != __last)
4208 __temp = __exp.__parse(++__temp, __last);
4212 if (__temp == __last || *__temp != ')')
4221 __temp = __exp.__parse(++__temp, __last);
4225 if (__temp == __last || *__temp != ')')
4244 _ForwardIterator __last)
4246 if (__first != __last)
4255 __first = __parse_atom_escape(__first, __last);
4258 __first = __parse_bracket_expression(__first, __last);
4263 if (__first == __last)
4266 if (__temp != __last && *__first == '?' && *__temp == ':')
4269 __first = __parse_ecma_exp(++__temp, __last);
4270 if (__first == __last || *__first != ')')
4280 __first = __parse_ecma_exp(__first, __last);
4281 if (__first == __last || *__first != ')')
4296 __first = __parse_pattern_character(__first, __last);
4307 _ForwardIterator __last)
4309 if (__first != __last && *__first == '\\')
4312 if (__t1 == __last)
4315 _ForwardIterator __t2 = __parse_decimal_escape(__t1, __last);
4320 __t2 = __parse_character_class_escape(__t1, __last);
4325 __t2 = __parse_character_escape(__t1, __last);
4338 _ForwardIterator __last)
4340 if (__first != __last)
4351 __first != __last && '0' <= *__first && *__first <= '9'; ++__first)
4369 _ForwardIterator __last)
4371 if (__first != __last)
4417 _ForwardIterator __last,
4420 if (__first != __last)
4463 if ((__t = _VSTD::next(__first)) != __last)
4482 if (__first == __last)
4489 if (__first == __last)
4498 if (__first == __last)
4505 if (__first == __last)
4545 _ForwardIterator __last)
4547 if (__first != __last)
4579 _ForwardIterator __last)
4582 _ForwardIterator __t1 = _VSTD::find(__first, __last, _CharT('\n'));
4588 if (__first != __last)
4590 while (__first != __last)
4592 __t1 = _VSTD::find(__first, __last, _CharT('\n'));
4600 if (__first != __last)
4610 _ForwardIterator __last)
4613 _ForwardIterator __t1 = _VSTD::find(__first, __last, _CharT('\n'));
4619 if (__first != __last)
4621 while (__first != __last)
4623 __t1 = _VSTD::find(__first, __last, _CharT('\n'));
4631 if (__first != __last)
5570 const _CharT* __first, const _CharT* __last,
5579 __unmatched.first = __last;
5580 __unmatched.second = __last;
5587 __states.back().__last_ = __last;
5594 int __length = __last - __first;
5614 __s.__current_ != __last)
5654 const _CharT* __first, const _CharT* __last,
5660 ptrdiff_t _Np = _VSTD::distance(__first, __last);
5668 __states.back().__last_ = __last;
5675 int __length = __last - __first;
5695 __s.__current_ != __last)
5748 const _CharT* __first, const _CharT* __last,
5756 ptrdiff_t _Np = _VSTD::distance(__first, __last);
5761 __unmatched.first = __last;
5762 __unmatched.second = __last;
5769 __states.back().__last_ = __last;
5778 int __length = __last - __first;
5798 __s.__current_ != __last)
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);
5925 __wrap_iter<_Iter> __last,
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);