标签: regex qt syntax qml
我需要在Qt QML源文件中打破一个长正则表达式,例如:
TextInput { ... validator: RegExpValidator { regExp: /Here goes a very long regular expression. I want to break it to multiple lines/ } }
我该怎么做?