1 个仓库
Matching text patterns that span across newline characters by treating files as single blocks.
Distinct from Text Pattern Matching: Distinct from Text Pattern Matching: specifically addresses the capability to match patterns across multiple lines.
Explore 1 awesome GitHub repository matching data & databases · Multi-Line Pattern Matching. Refine with filters or upvote what's useful.
sd 是一个命令行文本处理实用程序,旨在跨多个文件搜索和替换文本模式。它作为一个基于正则表达式的查找和替换工具,允许直接从终端进行原地文件编辑。 该项目支持正则表达式替换(包括使用捕获组进行复杂转换)和用于字面文本替换的固定字符串替换。它通过将文件内容作为单个块进行处理来匹配跨换行符的模式,从而专门处理多行文本替换。 该工具提供了批量文件内容更新能力,以及在提交到文件系统之前审查修改的缓冲更改预览。
Treats input as a single block to match patterns and newlines spanning multiple lines.