You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Versions of regcomp()/regexec()/etc in kLIBC seem to be quite old. In particular, they don't support the range [A-~] (i.e. all characters between ASCII A and ASCII ~ (tilde)) complaining with regex error 11 (Invalid range end). This was discovered when using the file magic database (magic.mgc) from file v5.30 in rpmbuild (this magic.mgc contains bioinformatics magic data which contains the following regex that fails: ^[!-?A-~]{1,255}(\t[^\t]+){11}).
A temporary workaround is to replace the faulty regex with
As Silvan reports, grep provides updated regcomp() and friends and these support the tilde quite well. We need to use them in LIBCx to override kLIBC ones for the time being.
Versions of regcomp()/regexec()/etc in kLIBC seem to be quite old. In particular, they don't support the range
[A-~]
(i.e. all characters between ASCIIA
and ASCII~
(tilde)) complaining withregex error 11 (Invalid range end)
. This was discovered when using the file magic database (magic.mgc) fromfile
v5.30 in rpmbuild (this magic.mgc containsbioinformatics
magic data which contains the following regex that fails:^[!-?A-~]{1,255}(\t[^\t]+){11}
).A temporary workaround is to replace the faulty regex with
and rebuild magic.mgc.
The text was updated successfully, but these errors were encountered: