From: Ahmet Kilic Date: 2009-08-31T15:30:43+09:00 Subject: Regex: Get Class Name This a C++ class name, const std::string DRAPBase::CLASS_NAME = "DRAPBase"; I am writing like this classname = text.scan(/::CLASS_NAME = (.*?)\s+";/) but it is not true. how can I get the class name with regex? -- Posted via http://www.ruby-forum.com/.