From 1b7a57d7f88cab0a1968e8c886eac3629dc74617 Mon Sep 17 00:00:00 2001 From: Pixel Date: Thu, 17 Nov 2011 18:41:23 -0800 Subject: HTTP server's first real test, alongside multiple taskmanager threads. I'm not really sure I fully like the way I'm designing this, but I guess it could be solved with an HTTP/HTML helper class around the Action class. However, the HTTP server awfully need reference counting, so it doesn't go away before all of the workers disappear, which means a bit of a redesign of the Listener template. --- src/BRegex.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/BRegex.cc') diff --git a/src/BRegex.cc b/src/BRegex.cc index a7b37b0..d3a36f7 100644 --- a/src/BRegex.cc +++ b/src/BRegex.cc @@ -47,3 +47,5 @@ Balau::String Balau::Regex::getError(int err) { return r; } +Balau::Regex Balau::Regexes::any(".*"); +Balau::Regex Balau::Regexes::empty("^$"); -- cgit v1.2.3