Parsing dictionary entries with regex

Posted by Brandon on Stack Overflow See other posts from Stack Overflow or by Brandon
Published on 2010-06-09T01:50:50Z Indexed on 2010/06/09 1:52 UTC
Read the original article Hit count: 345

Filed under:
|

I'm trying to pull data from Jim Breen's WWWJDIC. The raw data returned has a lot of information delimited in several different formats.

The data pulled in the example below is from here: http://www.csse.monash.edu.au/~jwb/cgi-bin/wwwjdic.cgi?1ZUJ%E5%85%88%E7%94%9F

?? [????] /(n) (1) teacher/master/doctor/(suf) (2) with names of teachers, etc. as an honorific/(P)/

Should I use a regex?

© Stack Overflow or respective owner

Related posts about ruby

Related posts about regex