lark-parser/lark

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

Open

#1,527 opened on 2025年4月21日

GitHub で見る
 (5 comments) (0 reactions) (0 assignees)Python (4,275 stars) (384 forks)batch import
enhancementgood first issue

説明

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

コントリビューターガイド