in reply to back translating regular expressions

Let's just change your notation slightly:
my $str = 'A{C,T}A{C,T}'; print "$_\n" for glob $str;

Caution: Contents may have been coded under pressure.

Replies are listed 'Best First'.
Re^2: back translating regular expressions
by QM (Parson) on Mar 03, 2005 at 20:49 UTC
    ++

    glob is great for the simpler regex expansions. I'm not sure how many regex features you need...You'll probably hit the wall somewhere before zero-width (posi|nega)tive look-(ahead|behind)s.

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