Skip to content

Support inline flag groups: (?i) (?m) (?s) etc. #20

Description

@halotukozak

Currently rejected at parse time (see RegexParser.scala group-header parsing, the case _ => unsupported("flag group") fallthrough).

Case-insensitivity ((?i)) is probably the most commonly needed one — could plausibly be implemented at the CharSet/Chars level by expanding each literal/range into its case-folded union at parse time, without touching the core Regex/Subset algebra. Multiline ((?m)) and dotall ((?s)) depend on anchor and .-matching support respectively.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions