in reply to Re^3: Regex help \b & \Q
in thread Regex help \b & \Q
Thanks for this one Anonymous Monk. It is working for me.
I have another scenario now,
my $kw = '.Net'; my $title = ".net, .net; C .NET Cobol .NET C++ .NET .NETER Perl IT x.N +ET .net";
The answer should be 6 in this case. Means it has to consider the coma and semicolon cases too, if a $kw is followed by coma or semicolon, it should count.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Regex help \b & \Q
by ikegami (Patriarch) on Apr 14, 2016 at 18:29 UTC | |
by AnomalousMonk (Archbishop) on Apr 14, 2016 at 19:43 UTC | |
by rsFalse (Chaplain) on Apr 14, 2016 at 20:07 UTC | |
by AnomalousMonk (Archbishop) on Apr 14, 2016 at 20:51 UTC | |
by rsFalse (Chaplain) on Apr 15, 2016 at 10:18 UTC | |
by AnomalousMonk (Archbishop) on Apr 15, 2016 at 12:20 UTC | |
|
Re^5: Regex help \b & \Q
by AnomalousMonk (Archbishop) on Apr 14, 2016 at 12:43 UTC |