[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: run-time-compiled regexes
From: |
Nathan Inada |
Subject: |
Re: run-time-compiled regexes |
Date: |
Wed, 12 Feb 2003 10:22:49 -0800 |
Sam> I'm trying to scan simulation output files. These files
Sam> declare in their preambles what separator is used throughout
Sam> the rest of the file. Is there any way to plug the separator
Sam> into the regular expressions used for scanning the rest of the
Sam> file, on the fly? I think that the separator is always a
Sam> single character, but a string solution would also be
Sam> appreciated.
I did something like a long time ago this by swaping values in the
equivalence class array. Dont know if that will work in your scenerio,
however.