Hi, the "\1" in your Regex stands for repetition of a former match which you catched in the same Regex, but in your case there isn't one. You didn't descibe what you really want to match, in case you want these digits try this:
m/\.123\.222/ if you just want 3 digits with a dot in front just replace the numbers with "\d" The dot stands for anything, it needs to be escaped with a backslash if you want it as part of the searchstring. Hope this helps you Schirrmeister Am Samstag, 5. Juli 2003 18:06 schrieb Skot: > Hello, > > I want to search a string for matching content, > not quite getting it. > > something like: > > if ($myInputLine =~ m/.\123\.222/) { ... } > > this doesn't work of course, but is there a way to > do this? > > TIA > > Skot. > > > -- > Skot. -- Intelligenz ist etwas, von dem die meisten Menschen verschont blieben... -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]