MantisBT - CMake
View Issue Details
0015742CMakeDocumentationpublic2015-09-14 09:432015-09-14 21:18
Fujii Hironori 
Brad King 
normalminorN/A
closedfixed 
CMake 3.3.1 
CMake 3.4CMake 3.4 
0015742: string(REGEX MATCH) and string(REGEX MATCHALL) concatenate arguments
> string(REGEX MATCH "a." out a b c)

'out' becomes "ab".

This is a intended behavior.

 [Cmake] regex error ? in 2.1
 http://www.cmake.org/pipermail/cmake/2004-June/005173.html [^]

This should be documented.
No tags attached.
Issue History
2015-09-14 09:43Fujii HironoriNew Issue
2015-09-14 10:39Brad KingNote Added: 0039419
2015-09-14 10:39Brad KingAssigned To => Brad King
2015-09-14 10:39Brad KingStatusnew => resolved
2015-09-14 10:39Brad KingResolutionopen => fixed
2015-09-14 10:39Brad KingFixed in Version => CMake 3.4
2015-09-14 10:39Brad KingTarget Version => CMake 3.4
2015-09-14 21:17Fujii HironoriNote Added: 0039425
2015-09-14 21:17Fujii HironoriStatusresolved => closed

Notes
(0039419)
Brad King   
2015-09-14 10:39   
I've organized the string command docs:

 Help: Organize string command docs into sections
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5f2c47c4 [^]

and then added the requested documentation:

 Help: Document string(REGEX) input concatentation
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3809150a [^]
(0039425)
Fujii Hironori   
2015-09-14 21:17   
Thanks.