Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

A Regexp Assembler/Compiler

by PetaMem (Priest)
on Jun 19, 2002 at 14:56 UTC ( [id://175710]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
                  if($str =~ s/XLVIII$/IL/    or
                     $str =~ s/VIII$/IX/      or
    ...
                     $str =~ s/([VXLCDM])$/$1I/) { }
    
                  return $str;
    
  2. or download this
                  if($str !~ /[IVXLCDM]+/         ||
                     $str =~ /([IXC])\1{3,}/      ||
    ...
                  }
    
                  return 1;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://175710]
Approved by ignatz
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-18 20:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found