A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
Java in General
Regex / finite state library with support for callouts
Joined: Aug 30, 2010
Aug 30, 2010 00:22:47
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
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:
subject: Regex / finite state library with support for callouts
need a regular expression for extracting strings.
regular expression to Remove field inside [ ] brackets
regular expression problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014