Regular expressions in J2ME

2020-02-11 03:57发布

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条回答
神经病院院长
2楼-- · 2020-02-11 04:40

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?

查看更多
登录 后发表回答