Skip to content

Configure how regex_syntax treats ., case-sensitivity, etc #172

Closed
@nikomatsakis

Description

@nikomatsakis

Currently it seems that . is translated to AnyCharNoNL, but for my use case I would prefer AnyChar. I imagine I could probably achieve this by tweaking the input string to something like (?s:...), but it seems like something that ought to be configurable in a more "first-class" way (among other things, that will mess up the indices in my error messages, unless of course I account for it). Another similar example is being able to control if the regex is case sensitive or not.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions