lark-parser/lark

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

Open

#1,527 创建于 2025年4月21日

在 GitHub 查看
 (5 评论) (0 反应) (0 负责人)Python (4,275 star) (384 fork)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

贡献者指南