aspose file tools*
The moose likes Java in General and the fly likes Regex / finite state library with support for callouts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Regex / finite state library with support for callouts" Watch "Regex / finite state library with support for callouts" New topic
Author

Regex / finite state library with support for callouts

Johannes Goller
Greenhorn

Joined: Aug 30, 2010
Posts: 1
Does anyone know a Java library for regular expression matching or similar finite state techniques that enables callouts like PCRE in C does?

I.e a library that allows you to define a regular expression like

abc(?C1)def

along with a user-defined function F, and then after matching "abc" calls F on the current match state, and continues the match for "def" after F has returned?

It does not have to be this exact syntax, but general support for function callouts is something I need and haven't been able to find in Java yet.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Regex / finite state library with support for callouts