BLOCKCOMMENT = <<<!--.*?--\>>> %ignore% does not work

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

BLOCKCOMMENT = <<<!--.*?--\>>> %ignore% does not work

Morten Aune Lyrstad
Can somebody please be so kind as to explain to me why this token
definition does not work?

BLOCKCOMMENT = <<<!--.*?--\>>> %ignore%

Yours,
Morten Aune Lyrstad



_______________________________________________
Grammatica-users mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/grammatica-users
Reply | Threaded
Open this post in threaded view
|

Re: BLOCKCOMMENT = <<<!--.*?--\>>> %ignore% does not work

Per Cederberg
In what way does it not work? Doesn't capture the
strings that you expect? Some examples?

Perhaps the problem is that . doesn't match newline
characters? Use (.|\n|\r) instead if that is the
case.

Cheers,

/Per

Morten Aune Lyrstad wrote:

> Can somebody please be so kind as to explain to me why this token
> definition does not work?
>
> BLOCKCOMMENT = <<<!--.*?--\>>> %ignore%
>
> Yours,
> Morten Aune Lyrstad
>
>
>
> _______________________________________________
> Grammatica-users mailing list
> [hidden email]
> http://lists.nongnu.org/mailman/listinfo/grammatica-users
>
>


_______________________________________________
Grammatica-users mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/grammatica-users
Reply | Threaded
Open this post in threaded view
|

Re: BLOCKCOMMENT = <<<!--.*?--\>>> %ignore% does not work

Morten Aune Lyrstad
Thank you, that solved the problem perfectly!!! It was indeed your
suggested problem.

Yours,
Morten Aune Lyrstad

Per Cederberg skrev:

> In what way does it not work? Doesn't capture the
> strings that you expect? Some examples?
>
> Perhaps the problem is that . doesn't match newline
> characters? Use (.|\n|\r) instead if that is the
> case.
>
> Cheers,
>
> /Per
>
> Morten Aune Lyrstad wrote:
>> Can somebody please be so kind as to explain to me why this token
>> definition does not work?
>>
>> BLOCKCOMMENT = <<<!--.*?--\>>> %ignore%
>>
>> Yours,
>> Morten Aune Lyrstad
>>
>>
>>
>> _______________________________________________
>> Grammatica-users mailing list
>> [hidden email]
>> http://lists.nongnu.org/mailman/listinfo/grammatica-users
>>
>>
>
>
> _______________________________________________
> Grammatica-users mailing list
> [hidden email]
> http://lists.nongnu.org/mailman/listinfo/grammatica-users
>



_______________________________________________
Grammatica-users mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/grammatica-users