I am quite sure, that sometimes regexm() answers true (1) und sometimes fals (0) if the first argument is an empty string.
Examples:
regexm("", "i") -> 1
regexm("", "a") -> 0
If you try these examples the answer you get might be true resp. false in both cases.
Mit freundlichen Grüßen
Alois Harrasser
_________________________________________________________
Institut für Klin. Epidemiologie der TILAK
Anichstr. 35
A-6020 Innsbruck
Austria
Tel-Nr. ++43-512-504-22395
Fax-Nr. ++43-512-504-22315
E-Mail [email protected]
Zertifiziert nach ISO 9001:2000
Homepage www.iet.at
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/