home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.compilers      Compiler construction, theory, etc. (Mod      2,753 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 904 of 2,753   
   Thomas Dickey to Joel C. Salomon   
   Re: RegExp to match against RegExp's   
   08 Mar 07 09:43:10   
   
   From: dickey@saltmine.radix.net   
      
   Joel C. Salomon  wrote:   
   > whiskey wrote:   
   >> how would a regular expression that matches a regular   
   >> expression look like ?   
      
   > Which flavor of regexp?  But that hardly matters; since parenthesis and   
   > brackets must be matched in a valid regexp, regular expressions cannot   
   > themselves be described by a regular language.   
      
   otoh, I got reasonably good (but bulky) results for the parser of lex   
   source written in lex/flex for vile.  It took several levels of expressions   
   to do that, though.   
      
   --   
   Thomas E. Dickey   
   http://invisible-island.net   
   ftp://invisible-island.net   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca