Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- c158.4n;-94.72
- c158n;-94
- QRegExp exp("c(\d+)([\.]?)([\d]?)(n)(;)(-)(\d+)([\.]?)([\d]?)");
- if (exp.exactMatch(m_string)) {
- qDebug() << exp.cap(1);
- }
- QRegExp exp("c(\d+)([.]?)([\d]?)(n)(;)(-)(\d+)([.]?)([\d]?)");
- if (exp.exactMatch(m_string)) {
- qDebug() << exp.cap(1);
- }
Add Comment
Please, Sign In to add comment