I'm trying to match the following strings:
/*virtual*/, /* virtual*/, /*virtual */ and /* virtual */
The regexp /\*\svirtual\s\*/ correctly matches the version with two spaces, however replacing \s by [\s]* does not match any of these strings... From reading the emacs RegularExpression reference document on the wiki I have assumed that this should create a regex matching my specification. I am still a bit new to regular expressions, any help (and explanation why the above is faulty) is welcome!