Name | Modified | Size | Downloads / Week |
---|---|---|---|
README.txt | 2011-06-07 | 874 Bytes | |
re2_safe.ecf | 2011-06-07 | 1.7 kB | |
re2_attributeless.e | 2011-06-07 | 1.7 kB | |
re2.e | 2011-06-07 | 23.9 kB | |
Totals: 4 Items | 28.1 kB | 0 |
This small Eiffel library is a wrapper for Google's RE2 regular expression evaluator. The library is void safe. To use the library, 1. download and install RE2, following the instructions found at http://code.google.com/p/re2/wiki/Install; 2. in a command window, set the environment variables 'RE2' and 'RE2LIB' to the locations of the "re2.h" and other include files, and the libre2.so library respectively; 3. in the same command window, set the ISE_EIFFEL, ISE_PLATFORM, and PATH environment variables required by EiffelStudio. For example, using the default locations: export ISE_EIFFEL=/usr/local/Eiffel67 export ISE_PLATFORM=linux-x86 export PATH=$PATH:$ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin export RE2=/usr/local/include/re2 export RE2LIB=/usr/local/lib 4. launch "estudio" from the command window. 5. include "re2_safe" as a library in the Project Settings.