开发者

Pseudo English to Regexp [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

Questions asking us to recommend or find开发者_Go百科 a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

Closed 9 years ago.

Improve this question

Is there a translator from pseudo English to regexp? That is, a sort of scripting language to ouput regexp? Thank you. Tuba


Your best bet is txt2re or a similar tool.


Honestly, why would anyone not want to write their own regular expressions :)

There are tools (websites) that build regular expressions on a piece of text, but they require a fair amount of user input. Checkout this one:

http://boingboing.net/2011/04/14/automatically-genera.html

It sounds like you are looking for a rules engine (using it as an API in your code)? If that is the case, you should checkout Drools, it's very powerful and can do too much.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜