The \w and similar character classes ([a-z], :alpha:]], :word:]], etc.) are not locale-aware in the Find/Replace panel. For example, on my french computer, \w+ correctly matches “abcde” but not “àbcdé”. I have to manually type the following pattern instead [a-zàáâãäçèéêëìíîïòóôõöùúûüÿÀÁÂÃÄÇÈÉÊËÌÍÎÏÒÓÔÕÖÙÚÛÜŸ]+.
Does anyone know of a way to make ST take my locale into account? According to what I read, ST uses the Boost library for regular expressions. There seems to exist a collate flag for this purpose, but I don’t know how/where to set it in ST.
Thanks for any help
(ST2 build 2220 on Mac OS 10.7)