mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 09:57:49 +08:00
6b117c9c7e
* [vcpkg docs] Change how documenting port functions works Instead of using `##`, use comment blocks for documentation. Also, add some minor docs and change RST -> MD so we actually get docs generated. * add CI stuff * regenerate docs * fix vcpkg_find_acquire_program to not use _execute_process
5 lines
264 B
CMake
5 lines
264 B
CMake
function(vcpkg_internal_escape_regex_control_characters out_var string_with_regex_characters)
|
|
string(REGEX REPLACE "[][+.*()^\\$?|]" "\\\\\\0" _escaped_content "${string_with_regex_characters}")
|
|
set(${out_var} "${_escaped_content}" PARENT_SCOPE)
|
|
endfunction()
|