jacdelad wrote: ↑Thu Jun 01, 2023 4:37 am
What exactly do you want to achieve?
I thought that was self-evident... I wanted to know if what I have distilled down is a problem for me, or purebasic. So I posted sample code to illustrated a problem.
jacdelad wrote: ↑Thu Jun 01, 2023 4:37 amWhot into the blue:
what is "whot" in this context?
STARGÅTE wrote: ↑Thu Jun 01, 2023 5:50 am
Confirmed.
Thank you. I'll post to the bug forum...
STARGÅTE wrote: ↑Thu Jun 01, 2023 5:50 am
There is an additional character, which should not be there.
it appears to always be the last character of the string being manipulated.
jacdelad wrote: ↑Thu Jun 01, 2023 7:08 am
However, RegEx101.com handles it the same way as PureBasic 6.02, so I suspect that the earlier versions handled it wrong!
You need to do replace, not a search.
Yes, it matches the # - that's the point, but in purebasic 6.02 it adds an extra character that isn't specified.