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

Add findall regex support for InlineStrings #29

Closed
bkamins opened this issue May 18, 2022 · 1 comment
Closed

Add findall regex support for InlineStrings #29

bkamins opened this issue May 18, 2022 · 1 comment

Comments

@bkamins
Copy link

bkamins commented May 18, 2022

Now we have:

julia> findall(r".", InlineString("123"))
ERROR: ArgumentError: regex search is only available for the String type; use String(s) to convert
Stacktrace:
 [1] findnext(r::Regex, s::String3, idx::Int64)
   @ Base .\regex.jl:418
 [2] findall(t::Regex, s::String3; overlap::Bool)
   @ Base .\regex.jl:462
 [3] findall(t::Regex, s::String3)
   @ Base .\regex.jl:459
 [4] top-level scope
   @ REPL[70]:1
@quinnj
Copy link
Member

quinnj commented May 22, 2022

Thanks for the report; PR up: #30

@quinnj quinnj closed this as completed in ffbc1de May 22, 2022
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

No branches or pull requests

2 participants