-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Blocker
-
Component/s: content-replace-plugin
-
None
This snippet:
contentReplace(configs: [fileContentReplaceConfig( Â Â Â Â Â Â Â fileEncoding: 'UTF-8', Â Â Â Â Â Â Â filePath: 'conanfile.linux.txt', Â Â Â Â Â Â Â configs: [fileContentReplaceItemConfig( Â Â Â Â Â Â Â Â Â search: 'cpython/\\d+\\.\\d+\\.\\d+', Â Â Â Â Â Â Â Â Â replace: 'cpython/3.9.7')] )])
works on on 1.7.0, but generates an empty output file in 1.8.0.
conanfile.linux.txt file used as input is attached.
Log on version 1.7.0:
content-replace start > replace content of file: /home/jenkins-node/jenkins-root/workspace/range-Linux/range/conanfile.linux.txt > replace : [cpython/3.9.7] => [cpython/3.9.7] > replace times: 1, [cpython/\d+\.\d+\.\d+] => [cpython/3.9.7] content-replace end
Log on version 1.8.0:
content-replace start > replace content of file: /home/jenkins-node/jenkins-root/workspace/range-Linux/range/conanfile.linux.txt > replace times: 0, [cpython/\d+\.\d+\.\d+] => [cpython/3.9.7] content-replace end
Â
- is blocked by
-
JENKINS-71378 Regex could not match anything
-
- Closed
-