Leopold Toetsch wrote: > ... I was
also wondering if it could use the *cclass opcodes to advance the string pos but didn't find docs about available CCLASS constants and what they are matching.
runtime/parrot/include/cclass.pasm has PASM constants for the various bits and reveals that it is created from include/parrot/cclass.h, where the character classes are tersely documented.
It seems that find_not_cclass ... .CCLASS_PRINTING could do the job. This will still need a check, if a char is >= 128 and \x{...} escaping.
Eventually Data/Escape is just the reverse of src/string.c:string_unescape_cstring().
leo