diff options
-rw-r--r-- | ark/rar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ark/rar.cpp b/ark/rar.cpp index 6799b64..68aa604 100644 --- a/ark/rar.cpp +++ b/ark/rar.cpp @@ -99,7 +99,7 @@ bool RarArch::processLine( const TQCString &line ) // Look for rar/unrar version first if (!m_version) { - TQRegExp versionRegExp (TQString::fromLatin1 ("RAR\\s(\\d+)\\.(\\d+)\\s(beta (\\d+))?\\s+Copyright.*")); + TQRegExp versionRegExp (TQString::fromLatin1 ("(?:UN)?RAR\\s+(\\d+)\\.(\\d+)(\\s+beta\\s+(\\d+))?\\s.*Copyright.*")); if (versionRegExp.exactMatch (uline)) { |