Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
i have written above if condition to find substring starting with any other alphabet but not g . but it is not working proper . is there any other way to do so.if($line =~ /(#include)( ")([^g]\w+)(\.)(\w+")/)
20050317 Janitored by Corion: Added code tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: string matching condition not working fine
by Tanktalus (Canon) on Mar 17, 2005 at 18:35 UTC | |
|
Re: string matching condition not working fine
by sh1tn (Priest) on Mar 17, 2005 at 18:51 UTC | |
|
Re: string matching condition not working fine
by RazorbladeBidet (Friar) on Mar 17, 2005 at 18:33 UTC | |
|
Re: string matching condition not working fine
by jhourcle (Prior) on Mar 17, 2005 at 19:20 UTC |