rsiedl has asked for the wisdom of the Perl Monks concerning the following question:
any help would be appreciated.#!/usr/bin/perl use strict; my $term = "\"foo\"[MH] OR \"bar\"[MH]"; my @matches = ( $term =~ /\"(.+)?\"\[MH\]/ ); print $_,"\n" foreach (@matches);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: regex help
by kyle (Abbot) on Jun 01, 2007 at 04:17 UTC | |
|
Re: regex help
by sanPerl (Friar) on Jun 01, 2007 at 05:11 UTC | |
|
Re: regex help
by Samy_rio (Vicar) on Jun 01, 2007 at 04:17 UTC | |
by ikegami (Patriarch) on Jun 03, 2007 at 03:45 UTC | |
|
Re: regex help
by blazar (Canon) on Jun 01, 2007 at 15:11 UTC |