void-linux / void-linux/void-packages
Package request: regex2json
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 3.4k
- Forks
- 2.8k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 299
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the regex2json project at https://gitlab.com/tozd/regex2json and confirm its release details and command-line behavior. Then inspect the void-packages contribution guidance and existing package definitions to determine the required packaging entry. Done means regex2json is packaged from its released source and its stdin-to-JSON command is usable in Void Linux.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100