Wiki » History » Version 1
iri, 02/23/2011 08:22 PM
| 1 | 1 | iri | h1. PCRE : Perl Compatible Regular Expression |
|---|---|---|---|
| 2 | |||
| 3 | This library is in development yet. It's a beta version, so, be carefull ! |
||
| 4 | It is under "GNU / LGPL":http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html 2.1 license |
||
| 5 | |||
| 6 | Syntax and semantics of the regular expressions supported by this library : |
||
| 7 | http://library.gnome.org/devel/glib/unstable/glib-regex-syntax.html |
||
| 8 | |||
| 9 | h2. Installation |
||
| 10 | |||
| 11 | # Stop any Scol instance. |
||
| 12 | # Copy the dll file (MS Window) or so file (GNU / Linux) to your scol plugins subfolder. |
||
| 13 | # In the Scol root directory, edit the _usm.ini_ file and add this line : |
||
| 14 | @plugin plugins/pcre.dll SCOLloadPCRE SCOLfreePCRE@ |
||
| 15 | # Launch Scol |
||
| 16 | |||
| 17 | h2. Uninstallion |
||
| 18 | |||
| 19 | # Stop any Scol instance. |
||
| 20 | # Remove the dll file (MS Window) or so file (GNU / Linux) to your scol plugins subfolder. |
||
| 21 | # In the Scol root directory, edit the _usm.ini_ file and remove (or comment with #) this line : |
||
| 22 | @plugin plugins/pcre.dll SCOLloadPCRE SCOLfreePCRE@ |
||
| 23 | # Launch Scol |
||
| 24 | |||
| 25 | |||
| 26 | h2. If the library is not loaded ... |
||
| 27 | |||
| 28 | * GLib 2 must be installed in your system. |
||
| 29 | ** *On MS Windows :* |
||
| 30 | If not, you can download it from http://www.gtk.org/download-windows.html : |
||
| 31 | - - GTK+ individual packages |
||
| 32 | - - - GLib |
||
| 33 | - - - - Run-time |
||
| 34 | Only _libglib-2.0-0.dll_ (or +) is needed to pcre library. |
||
| 35 | Copy it to your windows/system32 subfolder (recommended) or to your Scol root folder. |
||
| 36 | ** *On GNU/ Linux :* |
||
| 37 | Upgrade your system to get the version 2.0 |
||
| 38 | |||
| 39 | * Verify the line in the usm.ini file |
||
| 40 | The syntax must be exact and there is not \tab, only \space. |
||
| 41 | |||
| 42 | If you are a developer, you could be interested by the [[API]] ... |