{"categories":[{"label":"Linguistic","url":"https://skillfed.io/packages/category/text-processing-linguistic"},{"label":"Compilers","url":"https://skillfed.io/packages/category/software-development-compilers"}],"enrichment":{"capability":"Provides a tree-sitter grammar for parsing regular expressions in PCRE2, POSIX, and JavaScript syntaxes, enabling incremental parsing and syntax analysis of regex patterns.","skillfed_tags":["parsing","tree-sitter","regex-grammar"],"use_cases":["Regex linting or validation tools that need to parse and analyze regex patterns for correctness.","Code editors or IDEs that highlight regex syntax and provide autocomplete for regex literals.","Static analysis tools that extract and analyze regex patterns from source code.","Regex refactoring or transformation tools that need to understand regex AST structure."],"what_it_does":"tree-sitter-regex is a language grammar for tree-sitter that parses regular expressions according to PCRE2, POSIX, and JavaScript syntax standards. It enables incremental, syntax-aware parsing of regex patterns into an abstract syntax tree, which is useful for tools that need to analyze, validate, or transform regex code.\n\nThe package is a compiled extension (available as prebuilt wheels for multiple platforms) with no runtime dependencies beyond Python 3.10+. It's designed to be used as a grammar module within the tree-sitter ecosystem, typically loaded by tree-sitter bindings to provide regex parsing capabilities to higher-level applications.","worth_installing":"Yes, if you are building a tool that needs to parse or analyze regular expressions and are already using tree-sitter. The package is well-maintained within its scope, permissively licensed, and has no external runtime dependencies. However, it is a specialized grammar module\u2014install it only if you have a specific need for tree-sitter-based regex parsing; it is not a general-purpose regex library."},"id":"tree-sitter-regex","links":{"html":"https://skillfed.io/packages/tree-sitter-regex","md":"https://skillfed.io/packages/tree-sitter-regex.md","pypi":"https://pypi.org/project/tree-sitter-regex/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-09-13","license_spdx":null,"license_treatment":"permissive","name":"tree-sitter-regex","python_support":"supports_current","summary":"Regex grammar for tree-sitter"},"popularity":{"monthly_downloads":1987444,"position":3384,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.25.0"}
