Regex usage question

Cameron Sanders camsanders at aol.com
Tue Jan 26 12:52:17 EST 2016


Ah! I found the RxParser class methods for syntax and usage. I missed these
previously -- my apologies.

On Tue, Jan 26, 2016 at 12:40 PM, Cameron Sanders <camsanders at aol.com>
wrote:

> Hi All. Nice work on Pharo!
>
> We are starting to use the Regex pattern matching by allowing users to
> write "rules" using patterns. For example, our data lookup processing can
> include a 'Per' rule that takes a key such as 'xPerY' and returns the value
> of (data at: #x) / (data at: #y). Until recently, all binary-operators such
> as Per were performed with a simple string matches. But in order to
> generalize, we are moving regex patterns.
>
> Can someone tell me where the language-spec is for Regex-Core that is
> included in Pharo? Is this in the style of sed, awk, or ... ? If possible,
> how do I indicated that I want several sub-string replacement sections?
>
> Thanks in advance.
> -Cam
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/attachments/20160126/67cc6d57/attachment.html>


More information about the Pharo-users mailing list