# A Perl regular expression component

The aim of this component is to use the `libpcre` shared library to allow Gambas to use Perl compatible regular expressions, so that we can do searching or even replacing.

I could do like I did in the `gb.eval` component: class and objects in the component plus a Gambas routine, Eval, that loads automatically the component if used.

That would be really, really cool! Would it be possible to use Perl-like regexps in the LIKE operator? -- NelsonFerraz

I have started a gb.pcre component. As I write this, it only has one class (Regex) with one property (Offset) indicating the position of your match, if any. But it does work and soon I will have all the substring matching stuff in there. You can download the latest version (until I get it stable) as a tarball from http://www.kudla.org/rpm/. -- RobKudla - 30 Sep 2004