![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| perl regexp | mirusnet | Shell Programming and Scripting | 1 | 04-04-2008 05:15 PM |
| Perl RegExp to remove last character from strings | ospreyeagle | Shell Programming and Scripting | 2 | 04-03-2008 03:55 PM |
| perl regexp error , I cant understand what is wrong | umen | Shell Programming and Scripting | 4 | 10-19-2006 11:35 AM |
| loop throw perl regexp selection | umen | Shell Programming and Scripting | 6 | 08-28-2006 11:35 AM |
| Need Help with Perl REGEXP | mh53j_fe | Shell Programming and Scripting | 1 | 01-17-2006 09:49 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
lazy capture don't work (regexp in perl)
hello all
im trying to capture only the first brackets but no matter what i do i keep capturing from the first brackets to the last one , here what i have : <% if (!Env.strLen(oidInvoice)); szDocumentTitle = Env.formatS("S",Env.getMsg("BP_INVOICE_ENUMERATION_CREATE_TITLE")) %> and the regexp i have is : if($r=~ m/<%\s*(if\s*\(.+?\))\s*%>/gi){ ..... } i like to capture only : if (!Env.strLen(oidInvoiceEnum)) with no luck what im doing wrong? |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|