TransWikia.com

как в QRegularExpression не учитывать регистр?

Stack Overflow на русском Asked by BigCubeCat on October 14, 2020

как в QRegularExpression не учитывать регистр?

One Answer

QRegularExpression re("my.regex", QRegularExpression::CaseInsensitiveOption)

или

QRegularExpression re;
re.setPatternOptions(QRegularExpression::CaseInsensitiveOption)

Подробности см. в документации Qt.

Correct answer by Fat-Zer on October 14, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP