How can I add a REGEX match to my J2ME project?

可紊 提交于 2020-01-01 11:48:09

问题


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


回答1:


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




回答2:


Will JRegex run in J2ME?

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




回答3:


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.




回答4:


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.



来源:https://stackoverflow.com/questions/121988/how-can-i-add-a-regex-match-to-my-j2me-project

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!