lark-parser/lark

Add support for the `a` and `L` regex flags

Open

#1527 aperta il 21 apr 2025

Vedi su GitHub
 (5 commenti) (0 reazioni) (0 assegnatari)Python (384 fork)batch import
enhancementgood first issue

Metriche repository

Star
 (4275 star)
Metriche merge PR
 (Merge medio 41m) (1 PR mergiata in 30 g)

Descrizione

Lark currently only supports the flags imslux, however Python supports two additional ones, which perhaps some people will find useful.

While users can still use inline flags, it might be nice for Lark to support it as part of the syntax, and it should be pretty easy.

https://docs.python.org/3/library/re.html#flags

Guida contributor