I would like to be able to identify form templates
28°44'30"N., 33°12'36"E.
Here is what I still have:
use utf8;
qr{
(?:
\d{1,3} \s* ° \s*
\d{1,2} \s* ' \s*
\d{1,2} \s* " \s*
[ENSW] \s* \.?
\s* ,? \s*
){2}
}x;
Needless to say, this is not consistent. Does this have anything to do with extended symbols (namely, the degree symbol)? Or am I just pulling it in a big time?
I also appreciate directions CPANif you know something there that solves my problem. I looked at Regex :: Common and Geo :: Formatter , but none of them do what I want. Any ideas?
Update
, use utf8 . , , , . use utf8 . , , utf8.