(something about breeding JS-monkeys with skirts?)
Maybe try providing a SSCCE, if wording and punctuation are too complicated?
after staring at the screen it seems like that Perl regex is translating octal code \0123 into characters and you want help translating it to JS?
I'd say have a look at the String and the RegExp objects, there you'll find .replace or .replace_all methods working like a Perl regex with /g modifier. JS copied almost all regex features available in Perl4.
yep off topic, but here you go
Hint: you'll need a replacer function for /e
see also
replace#using_global_and_ignore_with_replace
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re: attempting to achieve something
by LanX
in thread attempting to achieve something
by scientologyboxing
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |