On Sunday 22 August 2010 01:11:38 CuppoJava wrote:
> Hi Everyone,
> 
> I'm extremely stuck on this simple regex question, which I'm sure
> someone with a little more experience will be able to write in a
> second. I would really appreciate the help.
> 
> Given a string consisting of a's, b's, and spaces:  "aaa bbb abb ab
> bb"
> 
> I want to tokenize this into string's of a's and b's.
>   eg. "aaa", "bbb", "a", "bb", "a", "b", "bb"
> 
> AND also, I have to be able to tell which of the strings of b's was
> preceded with an "a", and which was preceded by a space.
> 
> Thanks a lot for your help
>   -Patrick

You are not trying to solve this one:

http://www.loopycode.com/a-surprisingly-hard-problem-post-correspondence/

aren't you?
:)

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to