Author: fperrad
Date: Tue Oct 25 23:51:52 2005
New Revision: 9572

Modified:
   trunk/config/inter/lex.pl
Log:
support flex GNUwin32

Modified: trunk/config/inter/lex.pl
==============================================================================
--- trunk/config/inter/lex.pl   (original)
+++ trunk/config/inter/lex.pl   Tue Oct 25 23:51:52 2005
@@ -74,7 +74,7 @@ sub runstep {
 
     # if '--version' returns a string assume that this is flex.
     # flex calls it self by $0 so it will claim to be lex if invoked as `lex`
-    if ($stdout =~ /f?lex \s+ (\d+) \. (\d+) \. (\d+)/x) {
+    if ($stdout =~ /f?lex .*? (\d+) \. (\d+) \. (\d+)/x) {
         Configure::Data->set(flex_version => [$1, $2, $3]);
     }
 

Reply via email to