match()
- Posted by aku saya <akusaya at gmx.net> May 26, 2003
- 433 views
match("", "something") shows an error first argument of match() must be a non-empty sequence I think it should return 1, because "" is a substring of "something", and is located in any position. So I don't have to check if the first argument is "", don't call match(). How do you think?