Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. shamino

    Perl Reg exp: Parentheses in character class

    I see. Makes sense. Thanks :)
  2. shamino

    Perl Reg exp: Parentheses in character class

    I am trying to match parentheses by puting the parentheses in a character class, but I cannot get it to work. Here is the sample code I am trying to run: $line = 'hello(()())'; $line =~ /([\(\)]*)/; print $1."\n"; I would think '(()())' will get printed, but it does not. Any help/tips will...

Part and Inventory Search

Back
Top