$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] Boost.regex expression construction
From: Shaolin (shaolinfinest_at_[hidden])
Date: 2010-03-11 09:57:31
Hi Guys
I am using boost.regex to check whether a string has opening and closing
brackets. The problem is the expression doesnt work. I have tried all sorts
of combos and read up the doc too to no avail. Can someone tell me whether
the following does what its supposed to (i.e. look for opening/closing
brackets in a string):
boost::regex e("[\\(\\)]"); /*check for opening/closing brackets*/
Regards