problem with regexp:regexp-split

Jean Louis <[email protected]>
Newsgroups gmane.lisp.clisp.general
Message-ID <[email protected]>
Hello,

I have some problem in understanding.

(defparameter latitude "6° 45' 22.90\"    S")
(defparameter longitude "35° 7' 23.60\"  E")

(regexp:regexp-split " " latitude)
=> ("6° " "5'" "22.90\"" "" "" "" "S")

That was my expected output for latitude, but I get problem with
longitude:

(regexp:regexp-split " " longitude)
=> ("35° " "'" "23.60\"" "" "E")

So that is not the expected value for longitude, and I don't know what
to do to make it happen, as I miss the number "7" there.

Jean Louis


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
clisp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.