Re: [Modeling-users] Char escaping
Status: Abandoned
Brought to you by:
sbigaret
From: Sebastien B. <sbi...@us...> - 2003-07-24 11:53:30
|
Yannick Gingras <yan...@sa...> wrote: > Is there a way to fetch those records that use "???" ? >=20 > Something like "\\?\\?\\?" but that actualy works... >=20 > Thanks in advance! Just escape it :] --> See bug item #776592 added after your request. https://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D776592&group_= id=3D58935&atid=3D489335 It was in fact impossible to fetch a pattern containing raw '?' or '*'; thanks for reporting. The patch attached to the bug report solves the problem. It is integrated in CVS and will be in next release. Now you can say: ec.fetch('Book', 'title like "abc\?d"') See also: test_EditingContext_Global.test_23_fetch_star_and_interrogation_mark_chars() As a consequence, however, the following sequences of two characters cannot be specified in a fetch qualifier: '\?' and '\*'. Hopefully this won't annoy anyone... -- S=E9bastien. |