Angus Leeming <[EMAIL PROTECTED]> writes:

| On Wednesday 06 November 2002 2:37 pm, Lars Gullik Bjønnes wrote:
>> Angus Leeming <[EMAIL PROTECTED]> writes:
>> | Lars, I'd value some help.
>> |
>> | Attached is a small test code for the boost regex code.
>
>> | Regex search pattern: ^And
>>
>> try this: "^And.*"
>
| Thank you, Lars. Is there a flag I can pass to boost::regex_match that 
| enables "^And" to succeed? Not boost::match_any anyway.

That is not really how regexps work...

>> I hope you didn't use the lyx boost to compile with... we turn off
>> exceptions.
>
| Ahhh. Of course I did ;-)
| But anyway, that's really the whole point. The user can enter the RE from the 
| citation dialog. Should he be able to crash lyx by entering a crap one?

The boost::regex code has a lot of defines to handle compiling without
exceptions, but I guess that is all it does. The code does not seem to
allow using it well without exceptions... I'll have a go around on
this...

-- 
        Lgb

Reply via email to