Re: Bigloo Regexp: m/ /ms
Laurent Bloch <[email protected]>
| Newsgroups | gmane.lisp.scheme.bigloo |
|---|---|
| Message-ID | <[email protected]> |
Le 2015-04-20 13:03, [email protected] a écrit : > Yes, Bigloo supports this although this feature is not documented yet. > First, you need to enable the PCRE regexp backend as it is the only one > supporting the option (enabling it, means you have to install the > pcre-dev kit of your Linux distribution prior to configuring Bigloo). > Then compile your regexp as follows: > > (define re (pregexp YOUR-REGULAR-EXPRESSION 'MULTILINE)) > > Then you can use the regular expression (the variable re) as usual. Well, I don't see how to manage the multi-line behaviour: is there a way to have an input port as the text argument to pregexp-match-positions, for instance? Cheers. -- Laurent Bloch - http://www.laurentbloch.org/ - [email protected]