Regular expressions in J2ME

荒凉一梦 提交于 2019-12-18 04:54:24

问题


If I wanted to implement a regex engine in JavaME (Which lacks the regex libraries), where would be the best place to start? I'm imagining there is existing regex code out there which it would be possible to use as a starting point for porting.

Failing that, a good guide on how to compile and execute a regular expression would do.


回答1:


Could you investigate third party RegEx libraries, such as http://www.brics.dk/~amoeller/automaton/ ?

Could you analyse your requirements and simplify your needs to something that doesn't need a RegEx library?



来源:https://stackoverflow.com/questions/462048/regular-expressions-in-j2me

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