[Lxr-dev] [ lxr-Bugs-3382013 ] Missing dot in Generic.pm
Brought to you by:
ajlittoz
From: SourceForge.net <no...@so...> - 2011-07-29 10:30:35
|
Bugs item #3382013, was opened at 2011-07-29 11:30 Message generated for change (Tracker Item Submitted) made by kevinwalls You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=3382013&group_id=27350 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: v0.9.9 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Kevin Walls (kevinwalls) Assigned to: Nobody/Anonymous (nobody) Summary: Missing dot in Generic.pm Initial Comment: LXR 0.9.9, but looks to be the same in 0.9.10 also. Nothing runs, basically. Sorry, lost the exact command but failure is: [Thu Jul 28 11:08:40 2011] [error] [client x.x.x.x] [Thu Jul 28 11:08:40 2011] fatal: main, line 224: Sequence (?|...) not recognized in regex; marked by <-- HERE in m/^\t\t\t\t\t# reminder: no initial space in the grammar, ...referrer info etc... This must need the following, a missing dot before a question-mark: diff -C 3 lib/LXR/Lang/Generic.pm.orig lib/LXR/Lang/Generic.pm *** lib/LXR/Lang/Generic.pm.orig Sun Mar 27 10:51:25 2011 --- lib/LXR/Lang/Generic.pm Fri Jul 29 11:27:50 2011 *************** *** 217,223 **** $source =~ s/^ # reminder: no initial space in the grammar ([\w\#]\s*[\w]*) # reserved keyword for include construct (\s+) # space ! (?| (\")(.+?)(\") # C syntax | (\0<)(.+?)(\0>) # C alternate syntax | ()([\w:]+)(\b) # Perl and others ) --- 217,223 ---- $source =~ s/^ # reminder: no initial space in the grammar ([\w\#]\s*[\w]*) # reserved keyword for include construct (\s+) # space ! (.?| (\")(.+?)(\") # C syntax | (\0<)(.+?)(\0>) # C alternate syntax | ()([\w:]+)(\b) # Perl and others ) ..which runs fine. The same statement is in lib/LXR/Lang.pm WITH the missing dot in place. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=3382013&group_id=27350 |