Displaying 2 results from an estimated 2 matches for "basic_regex".
2015 Feb 13
2
[LLVMdev] SIGILL in regex::assign()
Hi, I have this simple program:
#include <regex>
int main()
{
std::regex re;
re.assign(std::regex("foo")); // SIGILL
return 0;
}
It runs smoothly if compiled with g++ but raises "illegal instruction"
when compiled with clang++:
g++ -std=c++11 -O0 -g -o test-g++ test.cpp
clang++ -std=c++11 -O0 -g -o test-clang++ test.cpp
ptomulik at barakus:$ ./test-g++
ptomulik
2006 Sep 08
0
syslog
...specify a selector_regex
# and/or an action_regex to help the grep and sed operations properly match
the values
#
# NOTE: This definition does not support the use of semicolons in
# the selector field to specify multiple priority specifications
define syslogconf(ensure, selector_regex="BASIC_REGEX",
action_regex="BASIC_REGEX") {
Exec { path => "/usr/bin:/usr/sbin/:/bin:/sbin" }
$file = "/etc/syslog.conf"
$selector_pattern = $selector_regex ? {
BASIC_REGEX => "^$name",
default => $selector_regex
}
$a...