-
parse: 1.20.1
As you can see,AEB doesn't seem to be handled correctly, I think that this is a bug?
Is there a better way? |
Beta Was this translation helpful? Give feedback.
Answered by
wimglenn
Apr 3, 2024
Replies: 1 comment
-
If you want to match the entire string you can use
The behavior of search does not seem like a bug to me. This function searches a string for the first occurrence of the format, and without any other constraints, the non-greedy result you see capturing a |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
wimglenn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you want to match the entire string you can use
parse
instead ofsearch
, the prefix can be discarded:The behavior of search does not seem like a bug to me. This function searches a string for the first occurrence of the format, and without any other constraints, the non-greedy result you see capturing a
[
is indeed the first occurrence.