Re: [CMake] How to assign data from subexpressions of regular expressions to CMake variables?

2011-01-20 Thread SF Markus Elfring
Thanks for your help to make CMake better, Is the command variant string(REGEX REPLACE ...) completely documented? Can multiple variables be specified that will receive the data from the evaluation of subexpressions in the passed regular expression? Regards, Markus

Re: [CMake] How to assign data from subexpressions of regular expressions to CMake variables?

2011-01-20 Thread Michael Wild
On 01/20/2011 12:10 PM, SF Markus Elfring wrote: Thanks for your help to make CMake better, Is the command variant string(REGEX REPLACE ...) completely documented? Can multiple variables be specified that will receive the data from the evaluation of subexpressions in the passed regular

Re: [CMake] How to assign data from subexpressions of regular expressions to CMake variables?

2011-01-20 Thread David Cole
On Thu, Jan 20, 2011 at 7:39 AM, Michael Wild them...@gmail.com wrote: On 01/20/2011 12:10 PM, SF Markus Elfring wrote: Thanks for your help to make CMake better, Is the command variant string(REGEX REPLACE ...) completely documented? Can multiple variables be specified that will

Re: [CMake] How to assign data from subexpressions of regular expressions to CMake variables?

2011-01-20 Thread Michael Wild
On 01/20/2011 02:01 PM, David Cole wrote: On Thu, Jan 20, 2011 at 7:39 AM, Michael Wild them...@gmail.com wrote: On 01/20/2011 12:10 PM, SF Markus Elfring wrote: Thanks for your help to make CMake better, Is the command variant string(REGEX REPLACE ...) completely documented? Can multiple

Re: [CMake] How to assign data from subexpressions of regular expressions to CMake variables?

2011-01-20 Thread Michael Wild
On 01/20/2011 02:14 PM, David Cole wrote: On Thu, Jan 20, 2011 at 8:06 AM, Michael Wild them...@gmail.com wrote: On 01/20/2011 02:01 PM, David Cole wrote: On Thu, Jan 20, 2011 at 7:39 AM, Michael Wild them...@gmail.com wrote: On 01/20/2011 12:10 PM, SF Markus Elfring wrote: Thanks for your

Re: [CMake] How to assign data from subexpressions of regular expressions to CMake variables?

2011-01-20 Thread David Cole
On Thu, Jan 20, 2011 at 8:06 AM, Michael Wild them...@gmail.com wrote: On 01/20/2011 02:01 PM, David Cole wrote: On Thu, Jan 20, 2011 at 7:39 AM, Michael Wild them...@gmail.com wrote: On 01/20/2011 12:10 PM, SF Markus Elfring wrote: Thanks for your help to make CMake better, Is the

Re: [CMake] How to assign data from subexpressions of regular expressions to CMake variables?

2011-01-20 Thread Alexander Neundorf
On Thursday 20 January 2011, Michael Wild wrote: On 01/20/2011 02:14 PM, David Cole wrote: ... Me too. I had to go searching for CMAKE_MATCH_ because I knew it was stated somewhere. Much to my surprise, there was only a single CMAKE_MATCH on our whole documentation page. It would make sense

Re: [CMake] How to assign data from subexpressions of regular expressions to CMake variables?

2011-01-20 Thread David Cole
On Thu, Jan 20, 2011 at 12:37 PM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: On Thursday 20 January 2011, Michael Wild wrote: On 01/20/2011 02:14 PM, David Cole wrote: ... Me too. I had to go searching for CMAKE_MATCH_ because I knew it was stated somewhere. Much to my surprise,

Re: [CMake] How to assign data from subexpressions of regular expressions to CMake variables?

2011-01-20 Thread Tyler Roscoe
On Thu, Jan 20, 2011 at 02:06:33PM +0100, Michael Wild wrote: Ah, yes. I keep forgetting. Might I propose that the documentation about regular expressions be extracted into its own section and then be referenced from all commands that have a REGEX mode? Because, confusingly, the only

Re: [CMake] How to assign data from subexpressions of regular expressions to CMake variables?

2011-01-20 Thread Michael Wild
On 20.01.2011, at 18:37, Alexander Neundorf a.neundorf-w...@gmx.net wrote: On Thursday 20 January 2011, Michael Wild wrote: On 01/20/2011 02:14 PM, David Cole wrote: ... Me too. I had to go searching for CMAKE_MATCH_ because I knew it was stated somewhere. Much to my surprise, there was