![]() |
Telelogic SYNERGY (steve huntington) | ![]() |
Topic Title: Mask special characters in Query Topic Summary: Created On: 19-Apr-2004 11:06 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
How can I specify a match for a string containing a special character like ' ?
For example: You have folder descriptions: 4.1: All bnb's Miscellaneous Tasks 4.2: All bnb's Miscellaneous Tasks You want to query for those folders using match: ccm query -t folder "description match '*All bnb's Misc*'" The above query doesn't work because of the ' in the text. Any ideas or recommendations? Best regards, Bárbara Neeb-Bruckner |
|
![]() |
|
![]() |
|
Although it's not an ideal solution - you can replace the ' with a ? - which works pretty well.
------------------------- Russ Braithwaite Software Configuration Management Friends Provident |
|
![]() |
|
![]() |
|
Hi
You should use smatch instead of match in your query. The query could be ccm query -type folder "description smatch '*<username>*'" Muralidhar |
|
![]() |
|
![]() |
|
I'm sorry. I don't understand how to use 'smatch'. The documentation only says:
smatch The value of the attribute must match a string. Do you have another example? The example you gave me, didn't work. Or may be I used smatch in the wrong way. |
|
![]() |
Telelogic SYNERGY
» SYNERGY/CM
»
Mask special characters in Query
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.