Tried the following on a Mac and it worked exactly as expected:
Code:
The regular expression used:
an:\s[a-zA-Z]*
Code:
The file to search in:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>huh</title>
</head>
<body>
<p> There is an: B C 1 2 3</p>
<p> There is an: 1 2 3</p>
</body>
</html>
It first highlighted the "an: B" and then next highlighted the "an: " since we specified the * which allows 0 occurrences of the [a-zA-z] set.
So regular expressions seem to work just fine on a Mac.
Would someone with access to Windows please try this exact example and let me know if it works correctly or not.