-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
strings"Strings!""Strings!"
Description
(As discussed on https://discourse.julialang.org/t/regex-on-byte-vector/47754?u=kernelmethod)
Currently there isn't a great way for Julia to perform regular expressions against binary data; e.g. there isn't an implementation of occursin(r::Regex, x::AbstractVector{UInt8}) or match(r::Regex, x::AbstractVector{UInt8}) in the standard library that doesn't require either (i) mutating x by calling String(x) or (ii) creating a copy of x. In theory it should be possible to implement this, since it's supported by PCRE, and it's probably generally useful functionality for a variety of applications.
tkf, Moelf, jakobnissen and Heptazhou
Metadata
Metadata
Assignees
Labels
strings"Strings!""Strings!"