Search found 5 matches

by void
Sun Feb 28, 2010 1:03 pm
Forum: [3.0/Olympus] Discussion
Topic: PECL BBCode Extension
Replies: 10
Views: 26769

Re: PECL BBCode Extension

yes, seen it,
but the complex part is how to escape quotes and detect the good ]
altough you can only try to find the opening of the tag in regexp and only then parse the argument.
by void
Sun Feb 28, 2010 12:45 pm
Forum: [3.0/Olympus] Discussion
Topic: PECL BBCode Extension
Replies: 10
Views: 26769

Re: PECL BBCode Extension

I don't think it will be easily implemented with regexp however
by void
Sat Feb 27, 2010 9:05 pm
Forum: [3.0/Olympus] Discussion
Topic: PECL BBCode Extension
Replies: 10
Views: 26769

Re: PECL BBCode Extension

no, you can provide another parser ruleset for the arg parsing :) I support a subparser (global currently, but can be implemented "by tag" there: http://php.net/manual/en/function.bbcode-set-arg-parser.php ) but api can be enhanced to allow a ruleset per tag, with a global sub-parser as de...
by void
Mon Feb 22, 2010 7:03 pm
Forum: [3.0/Olympus] Discussion
Topic: PECL BBCode Extension
Replies: 10
Views: 26769

Re: PECL BBCode Extension

Hi, sorry i did not see you responses, i was watching the previous topic. Basically, the parser does not implement multiple args, but it can be added, the complex part was how to declare the rules, it's allready a feature waiting to be implemented, but i don't have an easy answer as of now, even mor...
by void
Fri Feb 19, 2010 9:50 pm
Forum: [3.0/Olympus] Discussion
Topic: PECL BBCode Extension
Replies: 10
Views: 26769

PECL BBCode Extension

Hi all, Basically, I'm the developper behind the pecl bbcode extension, it's a C implementation of a BBCode parser and converter, the system is able to handle simple "search and replace", or more complex works by allowing users to provide callbacks. What's Important in this extension is: I...