Problems using a search file

13 views
Skip to first unread message

Bernadette Plunkett

unread,
Mar 1, 2013, 1:27:56 PM3/1/13
to chib...@googlegroups.com
Can anyone help solve a small puzzle.
I can use combo to search for any word or combination of words followed by any text followed by a particular punctuation mark without a problem. However, if I try to search for any word in a file I've saved followed by any text followed by '?' say, it churns out all instances of the words in my file regardless of the punctuation at the end of the utterance.
I've tried quoting the question mark and this makes no difference.
Does anyone know if this is simply a bug or does the search string have to change when you mention a file?
I was using a string such as
combo +...@xwords.txt^*^? *.cha
thanks,
Bernadette

Leonid Spektor

unread,
Mar 1, 2013, 5:07:06 PM3/1/13
to chib...@googlegroups.com
Bernadette,

The result you get is because every word in your file is treated as an alternative. If you look at the output in Commands window you'll see how COMBO is interpreting your search pattern. In case of your example of command line below COMBO sees:

combo +...@xwords.txt^*^? *.cha
(one)+(two)+((three^({*}^?)))

To achieve the result you are looking for you need to either put "^*^?" after every word in you file "xwords.txt" or try this command line:

combo +s(@xwords.txt)^*^? *.cha


Leonid.



--
You received this message because you are subscribed to the Google Groups "chibolts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chibolts+u...@googlegroups.com.
To post to this group, send email to chib...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Bernadette Plunkett

unread,
Mar 5, 2013, 12:34:57 PM3/5/13
to chib...@googlegroups.com
Hi Leonid,
sorry I couldn't reply before. Thanks for clearing this up and for the simple solution.
Bernadette
Reply all
Reply to author
Forward
0 new messages