Item MatchesFN::evaluateSingleton(const DynamicContext::Ptr &context) const
{
- const QRegExp regexp(pattern(context));
+ QRegExp regexp(pattern(context));
QString input;
const Item arg(m_operands.first()->evaluateSingleton(context));
Item ReplaceFN::evaluateSingleton(const DynamicContext::Ptr &context) const
{
- const QRegExp regexp(pattern(context));
+ QRegExp regexp(pattern(context));
QString input;
const Item arg(m_operands.first()->evaluateSingleton(context));
if(input.isEmpty())
return CommonValues::emptyIterator;
- const QRegExp regExp(pattern(context));
+ QRegExp regExp(pattern(context));
const QStringList result(input.split(regExp, QString::KeepEmptyParts));
return makeItemMappingIterator<Item>(ConstPtr(this),
if (hasAttribute(CommonNamespaces::XML, QString::fromLatin1("lang"))) {
const QString value = readAttribute(QString::fromLatin1("lang"), CommonNamespaces::XML);
- const QRegExp exp(QString::fromLatin1("[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*"));
+ QRegExp exp(QString::fromLatin1("[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*"));
if (!exp.exactMatch(value)) {
attributeContentError("xml:lang", "schema", value);
return;
if (hasAttribute(CommonNamespaces::XML, QString::fromLatin1("lang"))) {
const QString value = readAttribute(QString::fromLatin1("lang"), CommonNamespaces::XML);
- const QRegExp exp(QString::fromLatin1("[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*"));
+ QRegExp exp(QString::fromLatin1("[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*"));
if (!exp.exactMatch(value)) {
attributeContentError("xml:lang", "documentation", value);
return documentation;
bool found = false;
for (int j = 0; j < multiValue.count(); ++j) {
const QString pattern = multiValue.at(j)->as<DerivedString<TypeString> >()->stringValue();
- const QRegExp exp = PatternPlatform::parsePattern(pattern, m_context, m_reflection);
+ QRegExp exp = PatternPlatform::parsePattern(pattern, m_context, m_reflection);
if (exp.exactMatch(value)) {
found = true;
break;
bool found = false;
for (int j = 0; j < multiValue.count(); ++j) {
const QString pattern = multiValue.at(j)->as<DerivedString<TypeString> >()->stringValue();
- const QRegExp exp = PatternPlatform::parsePattern(pattern, m_context, m_reflection);
+ QRegExp exp = PatternPlatform::parsePattern(pattern, m_context, m_reflection);
if (exp.exactMatch(lexicalValue)) {
found = true;
break;
bool found = false;
for (int j = 0; j < multiValue.count(); ++j) {
const QString pattern = multiValue.at(j)->as<DerivedString<TypeString> >()->stringValue();
- const QRegExp exp = PatternPlatform::parsePattern(pattern, m_context, m_reflection);
+ QRegExp exp = PatternPlatform::parsePattern(pattern, m_context, m_reflection);
if (exp.exactMatch(lexicalValue)) {
found = true;
break;
bool found = false;
for (int j = 0; j < multiValue.count(); ++j) {
const QString pattern = multiValue.at(j)->as<DerivedString<TypeString> >()->stringValue();
- const QRegExp exp = PatternPlatform::parsePattern(pattern, m_context, m_reflection);
+ QRegExp exp = PatternPlatform::parsePattern(pattern, m_context, m_reflection);
if (exp.exactMatch(lexicalValue)) {
found = true;
break;
bool found = false;
for (int j = 0; j < multiValue.count(); ++j) {
const QString pattern = multiValue.at(j)->as<DerivedString<TypeString> >()->stringValue();
- const QRegExp exp = PatternPlatform::parsePattern(pattern, m_context, m_reflection);
+ QRegExp exp = PatternPlatform::parsePattern(pattern, m_context, m_reflection);
if (exp.exactMatch(lexicalValue)) {
found = true;
break;
bool found = false;
for (int j = 0; j < multiValue.count(); ++j) {
const QString pattern = multiValue.at(j)->as<DerivedString<TypeString> >()->stringValue();
- const QRegExp exp = PatternPlatform::parsePattern(pattern, m_context, m_reflection);
+ QRegExp exp = PatternPlatform::parsePattern(pattern, m_context, m_reflection);
if (exp.exactMatch(lexicalValue)) {
found = true;
break;
bool found = false;
for (int j = 0; j < multiValue.count(); ++j) {
const QString pattern = multiValue.at(j)->as<DerivedString<TypeString> >()->stringValue();
- const QRegExp exp = PatternPlatform::parsePattern(pattern, m_context, m_reflection);
+ QRegExp exp = PatternPlatform::parsePattern(pattern, m_context, m_reflection);
if (exp.exactMatch(lexicalValue)) {
found = true;
break;
bool found = false;
for (int j = 0; j < multiValue.count(); ++j) {
const QString pattern = multiValue.at(j)->as<DerivedString<TypeString> >()->stringValue();
- const QRegExp exp = PatternPlatform::parsePattern(pattern, m_context, m_reflection);
+ QRegExp exp = PatternPlatform::parsePattern(pattern, m_context, m_reflection);
if (exp.exactMatch(lexicalValue)) {
found = true;
break;
bool found = false;
for (int j = 0; j < multiValue.count(); ++j) {
const QString pattern = multiValue.at(j)->as<DerivedString<TypeString> >()->stringValue();
- const QRegExp exp = PatternPlatform::parsePattern(pattern, m_context, m_reflection);
+ QRegExp exp = PatternPlatform::parsePattern(pattern, m_context, m_reflection);
if (exp.exactMatch(lexicalValue)) {
found = true;
break;
bool found = false;
for (int j = 0; j < multiValue.count(); ++j) {
const QString pattern = multiValue.at(j)->as<DerivedString<TypeString> >()->stringValue();
- const QRegExp exp = PatternPlatform::parsePattern(pattern, m_context, m_reflection);
+ QRegExp exp = PatternPlatform::parsePattern(pattern, m_context, m_reflection);
if (exp.exactMatch(lexicalValue)) {
found = true;
break;