For the record, it's probably better to stick with #px in all cases. The vast majority of non-Racket code is based off the pcre library, which stands for "Perl-compatible regular expressions" so if you stick with #px the regex will be more familiar to more people. Plus, standardizing on one notation will eliminate bugs like the one you're seeing.
On Fri, May 1, 2020 at 9:50 AM Tim Hanson <[email protected]> wrote: > Thanks, Jens, much appreciated. I suspect I even knew this once and had > since forgotten it. > > (I even glanced at the docs, saw the two kinds, but didn’t pause long > enough to wonder if it mattered to me.) > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/racket-users/69320674-8272-4751-a6ce-40c140a7358c%40googlegroups.com > . > -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/CAE8gKocP1FP4ufrQW%2BVyKYKHSmC3i-LWPvM9C0jekHLj1fqj3Q%40mail.gmail.com.

