diff options
author | Jerome Pasion <jerome.pasion@nokia.com> | 2011-02-10 10:53:00 (GMT) |
---|---|---|
committer | Jerome Pasion <jerome.pasion@nokia.com> | 2011-02-10 10:53:00 (GMT) |
commit | e61abd249d4148c05b6c24ff787ff98978bbc2f9 (patch) | |
tree | b8d5fffa6b5ffb2823a2620da45512347a6d502a /doc/src/declarative | |
parent | 4ed49df2e4182cf078c1fac3cd739bd8f15412b1 (diff) | |
download | Qt-e61abd249d4148c05b6c24ff787ff98978bbc2f9.zip Qt-e61abd249d4148c05b6c24ff787ff98978bbc2f9.tar.gz Qt-e61abd249d4148c05b6c24ff787ff98978bbc2f9.tar.bz2 |
Noted that QML uses JavaScript based regexp
Task-number: QTBUG-16071
Diffstat (limited to 'doc/src/declarative')
-rw-r--r-- | doc/src/declarative/qmltexthandling.qdoc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/src/declarative/qmltexthandling.qdoc b/doc/src/declarative/qmltexthandling.qdoc index e0d9b0f..7906193 100644 --- a/doc/src/declarative/qmltexthandling.qdoc +++ b/doc/src/declarative/qmltexthandling.qdoc @@ -68,7 +68,9 @@ The validator elements bind to \c {TextInput}'s \c validator property. \snippet doc/src/snippets/declarative/texthandling.qml regexp validator The regular expression in the snippet will only allow the inputted text to be -\c {fruit basket}. The \l {QRegExp} class has more information about Qt's -regular expressions. +\c {fruit basket}. + +Note that QML parses JavaScript regular expressions, while Qt's +\l {QRegExp} class' regular expressions are based on Perl regular expressions. */ |