/[A3C]/lib/A3C/PHP.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/A3C/PHP.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 147 by dpavlin, Fri May 30 22:02:19 2008 UTC revision 148 by dpavlin, Tue Jun 3 10:23:52 2008 UTC
# Line 93  number:                /-?[0-9.]+/ Line 93  number:                /-?[0-9.]+/
93    
94  string:         double_quoted | single_quoted  string:         double_quoted | single_quoted
95    
96  double_quoted:  /".*?"/  double_quoted:  /"(\\"|[^"])*?"/
97                  {                  {
98                          $item[1] =~ s/\@/\\\@/g;                          $item[1] =~ s/\@/\\\@/g;
99                          $return = $item[1];                          $return = $item[1];
100                  }                  }
101    
102  single_quoted:  /'.*?'/  single_quoted:  /'(\\'|[^'])*?'/
103    
104  element:        scalar | bareword  element:        scalar | bareword
105    

Legend:
Removed from v.147  
changed lines
  Added in v.148

  ViewVC Help
Powered by ViewVC 1.1.26