[cmake-developers] [CMake 0015742]: string(REGEX MATCH) and string(REGEX MATCHALL) concatenate arguments

Mantis Bug Tracker mantis at public.kitware.com
Mon Sep 14 09:43:35 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15742 
====================================================================== 
Reported By:                Fujii Hironori
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15742
Category:                   Documentation
Reproducibility:            N/A
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-09-14 09:43 EDT
Last Modified:              2015-09-14 09:43 EDT
====================================================================== 
Summary:                    string(REGEX MATCH) and string(REGEX MATCHALL)
concatenate arguments
Description: 
> 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.

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-09-14 09:43 Fujii Hironori New Issue                                    
======================================================================



More information about the cmake-developers mailing list