diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-05-29 16:34:39 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-05-29 16:43:29 +0900 |
commit | 04a8b70fbaebca4f760535d33563a3e2137d9c5d (patch) | |
tree | ac2eeafac4e48b976c189ee451ed900791cd2bae | |
parent | 4d3ca8ffb57589a3a401be25f60da70d9f21ee33 (diff) | |
download | tdeutils-04a8b70fbaebca4f760535d33563a3e2137d9c5d.tar.gz tdeutils-04a8b70fbaebca4f760535d33563a3e2137d9c5d.zip |
Ark: Fixed support for rar files. This relates to bug 2794.
Special thanks to Ray Vine <ray-v@inbox.lv> whose patch inspired this one.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-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)) { |