Smaller fixes to RegExp
authorLars Knoll <lars.knoll@digia.com>
Sat, 4 May 2013 20:09:55 +0000 (22:09 +0200)
committerSimon Hausmann <simon.hausmann@digia.com>
Sun, 5 May 2013 12:12:03 +0000 (14:12 +0200)
commit45d652d30b26c4ea9f06031da295ae2b902e36fe
tree57bd0949e3b043a6d348dc7c59f90759e805a489
parent0bce4b19f2b376396bb159b3d06246c527c8d7b1
Smaller fixes to RegExp

The source property is supposed to contain an escaped version
of the literal, so that /source/ gives a valid regexp literal
again. toString() is supposed to use that same source property.

Change-Id: I2522ab76746002f6437839adacda7d453f8baa45
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/qml/v4/qv4regexpobject.cpp