123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|568|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> JSE -> Array text bug

Wed, 30 Nov 2022, 17:47
Dan

Array text bug


I've found another bug ...

  --v

Wed, 30 Nov 2022, 17:59
Jayenkai
Oooh, that's an odd one.
I found a weird string bug yesterday, and can't replicate it no matter how much I try. Grrr!! I hate bugs like that.

I'll look into this bug tomorrow.
Thanks for the repeatable example

-=-=-
''Load, Next List!''
Sun, 04 Dec 2022, 12:14
Jayenkai
I've fixed this bug!
Sorry it took more than a day, I ended up having to write my own little chunk of a replace-all string, because it was the replaceAll(search,replace) function that, for some bizarre reason, was smushing the $'s together.

You can see it for yourself, right here.
Change the "console.log(p.replaceAll(regex, 'ferret'));" line with "console.log(p.replaceAll(regex, '$$$$'));", then run it, and you'll only see $$, not $$$$.
You can try replacing the string with \$\$\$\$, but that still oddly ends up leaving only $$, and .. honestly, that's been me baffled for the past couple of days!
In the end I hardcoded a $$ variable, and then manually switched it back out, afterwards.
A right pain in the arse, that was..

And they wonder why you can't use too many special characters in your passwords. God only knows what goes on, behind the scenes, in Javascript!

-=-=-
''Load, Next List!''
Sun, 04 Dec 2022, 14:07
Dan
Great news, thanks Jay!