Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package request: regex2json #46615

Open
paoloschi opened this issue Oct 11, 2023 · 0 comments
Open

Package request: regex2json #46615

paoloschi opened this issue Oct 11, 2023 · 0 comments
Labels
request Package request

Comments

@paoloschi
Copy link

Package name

regex2json

Package homepage

https://gitlab.com/tozd/regex2json

Description

Convert text to JSON using only regular expressions.

Features:

  • Reads stdin line by line, converting each line to JSON to stdout.
  • Supports transformations of matched capture groups by specifying the transformation as capture group's name.
  • Transformation consists of a series of operators (e.g., parsing numbers, timestamps, creating arrays and objects).
  • Supports regexp matching a line multiple times, combining all matches into one JSON.

regex2json is implemented in Go and uses its standard regexp package for parsing and compiling regular expressions.

Does the requested package meet the package requirements?

System, Compiled

Is the requested package released?

Yes

@paoloschi paoloschi added the request Package request label Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request Package request
Projects
None yet
Development

No branches or pull requests

1 participant