[Scilab-users] Using double quote character in regular expressions

Antoine Monmayrant antoine.monmayrant at laas.fr
Wed Feb 27 17:05:35 CET 2013


On 27/02/2013 17:00, amiege wrote:
> Antoine Monmayrant wrote
>> I cannot read your code and error samples.
>> Is that a problem on the email you send?
>>
>> Antoine
>> _______________________________________________
>> users mailing list
>> users at .scilab
>> http://lists.scilab.org/mailman/listinfo/users
> Sorry about this, not sure why that is. Display looks OK on
> http://mailinglists.scilab.org/Using-double-quote-character-in-regular-expressions-td4026079.html
> <http://mailinglists.scilab.org/Using-double-quote-character-in-regular-expressions-td4026079.html>
> .
>
> Anyway, I think I have answered my own question. The trick appears to be to
> use 2 double quote characters and remove the / characters enclosing the
> expression. Not sure if the whole of the code definitely works, but progress
> has been made.

Well, to get a " in a scilab string delimited by ", you need to put 4 ":

a=""""; // a contains the string "
>
> Thanks,
>
> Arnaud
>
>
>
> --
> View this message in context: http://mailinglists.scilab.org/Using-double-quote-character-in-regular-expressions-tp4026079p4026081.html
> Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users



More information about the users mailing list