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

jq: provide regex support in additional package jq-full #26046

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Wokkocher
Copy link

@Wokkocher Wokkocher commented Feb 23, 2025

I modified the makefile, so that it will build two packages: jq and jq-full. The former will remain unchanged and the latter will have a dependency to the oniguruma library, so jq-full will have regex functions enabled.

Maintainer: me / @Wokkocher
Compile tested: ath79/generic, GL.iNet GL-AR150, OpenWrt version 24.10.0
Run tested: ath79/generic, GL.iNet GL-AR150, OpenWrt version 24.10.0

Description:

I built a self compiled image and flashed it to my test device. I compiled the package jq-full instead of the unchange package jq.

root@OpenWrt:~# opkg list | grep jq
jq-full - 1.7.1-r1
root@OpenWrt:~# echo -n '"abaabbaaabbb"' |  jq -c 'scan("(a+)(b+)")'
["a","b"]
["aa","bb"]
["aaa","bbb"]

I modified the makefile, so that it will build two packages: jq and jq-full. The former will remain unchanged and the latter will have a dependency to the oniguruma library, so jq-full will have regex functions enabled.

Signed-off-by: Wokkocher <milanx@gmx.net>
@Wokkocher
Copy link
Author

@Wokkocher Wokkocher changed the title provide regex support in additional package jq-full jq: provide regex support in additional package jq-full Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant