Boost logo

Boost Users :

From: Winson Yung (winson.yung_at_[hidden])
Date: 2006-07-24 21:38:10


I am trying to match (case insenstive) the following two lines with a
single regular expression, but somehow it doesn't work using boot
regex:

NET INCOME PER COMMON SHARE:
   Basic .................................................. $
4.38 $ 3.90 $ 3.37

where:
1) there might be spaces before "NET INCOME PER COMMON SHARE"
2) there might be spaces after "NET INCOME PER COMMON SHARE"
3) the semicolon might be optional

^(\\s*)?Net income per common share:?(\\s*)?\\r\\n( *)?basic

Any one has suggestions?

/Winson



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net