Ramprasad writes: > > > > I am doing regex match something like > > > /1 *- *2 *2 *- *3 *3 */ > > > > > > Any inputs ? > > > > Yes, as SA collapses multiple spaces down to a single space (in 'body' > > tests), you only need to look for a single instance of the space, > > not an unlimited number. Also you can omit that final ' *' as it's > > an optional "tail" match, thus the rule will work without it. > > > > IE: > > /1 ?- ?2 ?2 ?- ?3/ > > Wow SA is doing a lot of work already. Can I also have a collapsed body > string with all whitespaces removed > so I could do > > collapsedbody BADNUMBER /1-22-33/ > score BADNUMBER 10 > > I this this will also help get rid of the > "genu ine uni versity degre es" > > With the side issue of "The pen is mightier than the sword"
and many other potential accidents. IOW handle with care.