[libc-commits] [libc] [libc][regex] Add '^' and '$' anchors and line flags (PR #233780)

Jeff Bailey via libc-commits libc-commits at lists.llvm.org
Tue Oct 20 11:57:17 PDT 2026


================
@@ -33,6 +33,12 @@ inline constexpr ExprId EMPTY_STR_ID = 2;
 inline constexpr size_t BYTE_SET_BITS = size_t(1) << CHAR_BIT;
 using ByteSet = cpp::bitset<BYTE_SET_BITS>;
 
+/// Bitmask flags identifying zero-width boundary assertions.
+enum AnchorKind : uint16_t {
----------------
kaladron wrote:

No - sorry.  I did a refactoring earlier to split some things out that didn't make sense, and I hadn't caught that the narrower type was suitable here.  Thanks for catching this.

https://github.com/llvm/llvm-project/pull/233780


More information about the libc-commits mailing list