views:

2139

answers:

5

The question pretty much sums it up. Just want to run a regular expression match on a string in J2ME.

+1  A: 

Will JRegex run in J2ME?

UPDATE: Based on Rory's comment, I recommend JRegex, then.

Hank Gay
According to the site: JRegex is portable (runs under any version of java)
roryf
A: 

JRegex doesn't compile on J2ME (at least in the blackberry dev environment). I'm interested in a regex library as well but JRegex doesn't seem to work for this purpose.

Kevlar
A: 

It's hard to tell what runs on J2ME due to the extreme old age of J2ME's API support, but try Apache ORO. That's sufficiently old, crusty and obsolete that it may, if you're lucky, work on J2ME.

skaffman
A: 

JRegex will not run on CLDC device. Try this one: code.google.com/p/regexp-me/.

A: 

Has anybody tried the regexp-me lib for their j2me projects ?

letronje