lark-parser/lark

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

Open

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

在 GitHub 查看
 (5 评论) (0 反应) (0 负责人)Python (384 fork)batch import
enhancementgood first issue

仓库指标

Star
 (4,275 star)
PR 合并指标
 (平均合并 41分钟) (30 天内合并 1 个 PR)

描述

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

贡献者指南