Retitle 670307 Implicit dependency on xmerl_regexp, breaks s2s
thanks

Upon examination, I've decided that depending on a 1.5M erlang-xmerl
library which is not used in ejabberd except for that sh_to_awk/1
function whose implementation is about one screenful of code,
I've decided to just roll my own version of sh_to_awk/1.

Also it turned out that xmerl_regexp:sh_to_awk/1 is flawed in
several respects:
1) It incorrectly parses complicated bracket expressions
   (those "[0-9]" things) and does not detect incorrect specifications
   of BEs.
2) It does not escape curly brackets which, with the new (way more
   advanced) semantics of the new regexp module which now interprets
   {...} specs as atom match repetition counts, *is* a bug.

I'll try to communicate my fix with upstream.

Dominik, please test the released version when it's ready.
Since Sid does not contain any new Erlang revision compared to testing,
I think the package could be installable from upstream just fine.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to