12 Star 0 Fork 12

src-openEuler/flex

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
0001-scanner-fix-default-of-yy_top_state.patch
0002-scanner-fix-default-of-yy_top_state.patch
0003-backport-Fix-pattern-documentation-for-case-insensit...
0004-backport-fix-typo.patch
build-AC_USE_SYSTEM_EXTENSIONS-in-configure.ac.patch
filter-Output-correct-line-value-for-current-file.patch
filter-memory-leak-free-scanner-postprocessing.patch
flex-2.6.4.tar.gz
flex.spec
flex.yaml
mkskel.sh-fix-EOL-issue-for-CRLF-systems.patch
scanner-Ignore-comment-lines-in-skeleton-files.patch
scanner-c-i-j-should-preserve-case.patch
scanner-memory-leak-free-scanner-generator.patch
scanner-prevent-overflow-in-add_action.patch
scanner-temporarily-protect-against-ccl-overflow-ove.patch
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0003-backport-Fix-pattern-documentation-for-case-insensitive-ranges.patch 1.46 KB
一键复制 编辑 原始数据 按行查看 历史
From 38389534dabcf98bcbda70ef516c2b00f9ec67e9 Mon Sep 17 00:00:00 2001
From: Martin Joerg <martin.joerg@gmail.com>
Date: Mon, 27 Mar 2023 10:20:18 +0200
Subject: [PATCH] Fix pattern documentation for case-insensitive ranges
---
doc/flex.texi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/flex.texi b/doc/flex.texi
index bccab1e..acdd04c 100644
--- a/doc/flex.texi
+++ b/doc/flex.texi
@@ -952,13 +952,13 @@ character range such as @samp{[a-z]} or @samp{[S-W]} where it is obvious that yo
want case-folding to occur. Here are some examples with the @samp{-i} flag
enabled:
-@multitable {@samp{[a-zA-Z]}} {ambiguous} {@samp{[A-Z\[\\\]_`a-t]}} {@samp{[@@A-Z\[\\\]_`abc]}}
+@multitable {@samp{[a-zA-Z]}} {ambiguous} {@samp{[A-Z\[\\\]^_`a-t]}} {@samp{[@@A-Z\[\\\]^_`abc]}}
@item Range @tab Result @tab Literal Range @tab Alternate Range
@item @samp{[a-t]} @tab ok @tab @samp{[a-tA-T]} @tab
@item @samp{[A-T]} @tab ok @tab @samp{[a-tA-T]} @tab
-@item @samp{[A-t]} @tab ambiguous @tab @samp{[A-Z\[\\\]_`a-t]} @tab @samp{[a-tA-T]}
+@item @samp{[A-t]} @tab ambiguous @tab @samp{[A-Z\[\\\]^_`a-t]} @tab @samp{[a-tA-T]}
@item @samp{[_-@{]} @tab ambiguous @tab @samp{[_`a-z@{]} @tab @samp{[_`a-zA-Z@{]}
-@item @samp{[@@-C]} @tab ambiguous @tab @samp{[@@ABC]} @tab @samp{[@@A-Z\[\\\]_`abc]}
+@item @samp{[@@-C]} @tab ambiguous @tab @samp{[@@ABC]} @tab @samp{[@@A-Z\[\\\]^_`abc]}
@end multitable
@cindex end of line, in negated character classes
--
2.9.3.windows.1
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/flex.git
git@gitee.com:src-openeuler/flex.git
src-openeuler
flex
flex
master

搜索帮助