Changeset 9682


Ignore:
Timestamp:
12/14/09 01:48:16 (2 years ago)
Author:
szabgab
Message:

[Debug::Client] /x regex

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Debug-Client/lib/Debug/Client.pm

    r9680 r9682  
    358358    # the last line before  
    359359    # main::(t/eg/01-add.pl:8):  my $z = $x + $y; 
    360     if ($line =~ /^([\w:]*)\(([^\)]*):(\d+)\):\t(.*)/m) { 
     360    if ($line =~ /^([\w:]*)                  # module 
     361                  \(   ([^\)]*):(\d+)   \)   # (file:row) 
     362                  :\t                        # : 
     363                  (.*)                       # content 
     364                  /mx) { 
    361365        ($module, $file, $row, $content) = ($1, $2, $3, $4); 
    362366    } 
Note: See TracChangeset for help on using the changeset viewer.