阅读背景:

如何使用Java的Scanner类和正则表达式来标记输入?

来源:互联网 

Just for my own purposes, I'm trying to build a tokenizer in Java where I can define a regular grammar and have it tokenize input based on that. The StringTokenizer class is deprecated, and I've found a couple functions in Scanner that hint towards what I want to do, but no luck yet. Anyone know a good way of going about this?Just for my own purposes, I'm trying to build a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: