streaming pcre

90 views
Skip to first unread message

Anoop Saldanha

unread,
Nov 21, 2011, 6:29:21 AM11/21/11
to re2...@googlegroups.com
Hey all,

Wondering if it is possible to have a streaming pcre implementation.

For example, let us say we have 2 buffers - "regex" and another "parser".

and the regex to me matched is "regexparser".

If I first pass the 1st buffer "regex", and next pass the 2nd buffer
"parser", it should now return a match for the regex "regexparser"

Is it possible to have this feature?

--
Anoop Saldanha

Russ Cox

unread,
Dec 15, 2011, 3:56:16 PM12/15/11
to Anoop Saldanha, re2...@googlegroups.com

Hi. It may be doable with the implementation but it's not
straightforward. The API is really built around having all
the data in memory.

Russ

Anoop Saldanha

unread,
Dec 16, 2011, 1:36:09 AM12/16/11
to Russ Cox, re2...@googlegroups.com

Right. Thanks

--
Anoop Saldanha

Reply all
Reply to author
Forward
0 new messages