[LRUG] Parsing text
Michael Baldry
michael at brightbits.co.uk
Wed May 14 03:54:06 PDT 2014
Have you taken a look at lexr? Not sure if it will do the job any easier
than other solutions, but I wrote it, so it must be awesome!
https://github.com/brightbits/lexr
Define a few tokens and things to ignore and suddenly your input becomes a
lot clearer and you can process it far better with code.
On Wed, May 14, 2014 at 10:58 AM, Andrew Stewart
<boss at airbladesoftware.com>wrote:
> On 14 May 2014, at 11:44, Paul Robinson <paul at iconoplex.co.uk> wrote:
> > I can write a loop over the process that assuming @current_page has an
> array of attribute hashes that look like {:name => "id", :value => 12345} I
> can just write this:
>
> How does @current_page get populated?
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>
--
Michael
www.brightbits.co.uk
Company number: 08133555
Registered in England
Registered office: 22 Finwell Road, Rainham, Kent, ME8 7PY
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20140514/1c2bb3a3/attachment-0003.html>
More information about the Chat
mailing list