[all-commits] [llvm/llvm-project] c14ac8: [FIX][libc++][Regex] Using regex_constants match_p...

dnsampaio via All-commits all-commits at lists.llvm.org
Thu Apr 30 15:36:43 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c14ac8043ed1d8128e515c88e78186dd1ca5a655
      https://github.com/llvm/llvm-project/commit/c14ac8043ed1d8128e515c88e78186dd1ca5a655
  Author: Diogo Sampaio <diogo.sampaio at arm.com>
  Date:   2020-04-30 (Thu, 30 Apr 2020)

  Changed paths:
    M libcxx/include/regex
    A libcxx/test/std/re/re.const/re.matchflag/match_prev_avail.pass.cpp

  Log Message:
  -----------
  [FIX][libc++][Regex] Using regex_constants match_prev_avail | match_not_bol | match_not_bow

Summary:
pr42199
When using regex_constants::match_prev_avail, it is defined that
--first is valid, and match_not_bol and match_not_bow should be
ignored. At the moment these flags are not ignored. This fixis that.

Reviewers: ldionne, miyuki, EricWF, mclow.lists, #libc

Reviewed By: ldionne, miyuki, #libc

Subscribers: broadwaylamb, dexonsmith, libcxx-commits

Tags: #libc

Differential Revision: https://reviews.llvm.org/D75622




More information about the All-commits mailing list