Re: Vendoring XRegexp

2014-12-19 Thread Marc Tamlyn
I'm certainly in favour of not reinventing the wheel here. As a side note, I would love to have the javascript slugify functionality easily usable outside the admin. On 20 December 2014 at 04:51, Berker Peksağ wrote: > > While I'm working on #3729 [1], I had to update current regexes to > match u

Vendoring XRegexp

2014-12-19 Thread Berker Peksağ
While I'm working on #3729 [1], I had to update current regexes to match unicode codepoints. Unfortunately, JavaScript has no proper support for unicode character classes, so writing unicode aware regex is a bit difficult: http://stackoverflow.com/a/280762 I would like to add XRegexp to django.con