On Tue, 24 Feb 2004, Stefan Schmidt wrote: > I need an regular expression which matches the following rules: First off, debian-perl@ldo is a place for discussing perl packaging as it relates to the Debian distribution, not generic perl languages requests. You might find http://www.perlmonks.org more suitable for such questions, not to mention reading perldoc perlretut and perldoc perlintro > So the complete string lookes like: > K1234-04-02-20-56789.. /K\d+\-(?:\d\d-){2,2}\d+/ Don Armstrong -- I leave the show floor, but not before a pack of caffeinated Jolt gum is thrust at me by a hyperactive girl screaming, "Chew more! Do more!" The American will to consume more and produce more personified in a stick of gum. I grab it. -- Chad Dickerson http://www.donarmstrong.com http://rzlab.ucr.edu
Attachment:
signature.asc
Description: Digital signature