Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dokuwiki ne marche pas sur Quercus (master) #41

Open
ahoy-jon opened this issue Dec 8, 2011 · 3 comments
Open

Dokuwiki ne marche pas sur Quercus (master) #41

ahoy-jon opened this issue Dec 8, 2011 · 3 comments

Comments

@ahoy-jon
Copy link

ahoy-jon commented Dec 8, 2011

Un problème avec les regexps.

src\main\webapp\dokuwiki\inc\parser\lexer.php:401: Warning: com.caucho.quercus.lib.regexp.IllegalRegexpException: '-' is an unknown (? code /([ \t]*\n {2,}[\-\*])|([ \t]*\n\t{1,}[\-\*])|(\n (?![\*\-]))|(\n\t(?![\*\-]))|(~~NOTOC~~)|(~~NOCACHE~~)|([ \t]*={2,}[^\n]+={2,}[ \t]*(?=\n))|(\n\^)|(\n\|)|(\*\*(?=.*\*\*))|(\/\/(?=[^\x00]*[^:]))|(__(?=.*__))|(\x27\x27(?=.*\x27\x27))|((?=.*<\/sub>))|((?=.*<\/sup>))|((?=.*<\/del>))|(\x5C{2}(?:[ \t]|(?=\n)))|(\x28\x28(?=.*\x29\x29))|(~~INFO:\w+~~)|(\n[ \t]*-{4,}[ \t]*(?=\n))|((?=.*<\/nowiki>))|(%%(?=.*%%))|((?=.*<\/php>))|((?=.*<\/PHP>))|((?=.*<\/html>))|((?=.*<\/HTML>))|(<\ code="">))|(<\ file="">))|(\n>{1,})|((?<=\W|^)8-\)(?=\W|$)|(?<=\W|^)8-O(?=\W|$)|(?<=\W|^)8-o(?=\W|$)|(?<=\W|^)\:-\((?=\W|$)|(?<=\W|^)\:-\)(?=\W|$)|(?<=\W|^)\=\)(?=\W|$)|(?<=\W|^)\:-\/(?=\W|$)|(?<=\W|^)\:-\\(?=\W|$)|(?<=\W|^)\:-\?(?=\W|$)|(?<=\W|^)\:-D(?=\W|$)|(?<=\W|^)\:-P(?=\W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.?+=&%@!\-\[\].:?\-;,]+?(?=[.:?\-;,]*[^\w\/\#~:.?+=&%@!\-\[\].:?\-;,]))|(\b(?i)www?(?-i)\.[\w.:?\-;,]+?\.[\w.:?\-;,]+?[\w\/\#~:.?+=&%@!\-\[\].:?\-;,]+?(?=[.:?\-;,]*[^\w\/\#~:.?+=&%@!\-\[\].:?\-;,]))|(\b(?i)ftp?(?-i)\.[\w.:?\-;,]+?\.[\w.:?\-;,]+?[\w\/\#~:.?+=&%@!\-\[\].:?\-;,]+?(?=[.:?\-;,]*[^\w\/\#~:.?+=&%@!\-\[\].:?\-;,]))|(<[0-9a-zA-Z!#$%&'*+\/=?^_`{|}~-]+(?:\.[0-9a-zA-Z!#$%&'*+\/=?^_`{|}~-]+)*@(?i:[0-9a-z][0-9a-z-]*\.)+(?i:[a-z]{2,4}|museum|travel)>)|(\\\\\w+?(?:\\[\w$]+)+)|((?:^[ \t]*)?\n)/ [preg_match] <\><\>
@Keruspe
Copy link

Keruspe commented Mar 30, 2012

Si tu peux me pondre un minimal testcase qui reproduit le problème, ça m'intéresserait ;)

@ahoy-jon
Copy link
Author

C'est possible, tu as un template pour ce genre de tests ?

Sinon, je pense faire un artefact Maven qui dépend de Quercus, et faire un
test selenium.

@Keruspe
Copy link

Keruspe commented Mar 31, 2012

On a pas vraiment de système de tests pour l'instant :/
Je pensais plus à un bête fichier php le plus petit possible que je puisse test en local en cli pour voir le blem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants