in reply to Re: Need Set-like Regex for Perl and Java (golf OK)
in thread Need Set-like Regex for Perl and Java (golf OK)

Sorry. I assumed that everyone KWIM (Knew What I Meant), which wasn't the case.

The Perl list

( 'A000','A123'..'A456','A999'..'B000','B789'..'B888' )
does this nicely (unless I typoed, in which case it doesn't).

-QM
--
Quantum Mechanics: The dreams stuff is made of