[pcre-dev] [Bug 1187] Pcre 8.21 issue with Vbulletin

Startseite
Nachricht löschen
Autor: Philip Hazel
Datum:  
To: pcre-dev
Betreff: [pcre-dev] [Bug 1187] Pcre 8.21 issue with Vbulletin
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1187




--- Comment #13 from Philip Hazel <ph10@???> 2012-01-01 14:09:20 ---
On Sat, 31 Dec 2011, kotkerk wrote:

> patterns provided in the functions above


Not exactly. The functions appear to construct the patterns from various
things. Maybe when we have finished other work on PCRE I will have
enough time to try to understand the functions and what patterns they
construct. (I cannot just run them; I do not run PHP.)

> what the functions do...
> search in the text all links and puts bbcode [URL] around the link
> example of the form text:
> ==
> bla bla http://domain.tld/something/ more bla bla...
> ==
> submitted form text passed to functions and text must appear on the page like
> this:
> ==
> bla bla [URL]http://domain.tld/something/[/URL] more bla bla...
> ==
> but text is removed, submitted form is EMPTY, i mean, nothing to appear


Thank you. That is helpful. If/when I am able to reconstruct an actual
pattern I can test it on something like that. Note, however, the PCRE
just does pattern matching. It does not do insertion/replacement; that
code must be part of PHP.

Philip


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email