TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I do this:

grep -ri "\.'" .

in a terminal to search for the literal .' (dot apostrophe) , it seems to work and returns some hits. However, inside of Kile, using the Find in Files or Find in Project functions which use grep it returns no hits (though searching other normal strings does work, so I know it is searching the right files). Is there a different way I could specify this string? I also tried


but they did not work either.

share|improve this question

closed as off topic by Kurt, lockstep, percusse, diabonas, Paul Gaborit Oct 16 '12 at 22:45

Questions on TeX - LaTeX Stack Exchange are expected to relate to TeX, LaTeX or related typesetting systems within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

It would be helpful if you could describe your system. GNU grep is not the same program as BSD grep for example. I have no idea how the regular expressions are implemented in Kile but it is definitely possible that Kile has different implementation then your system grep. – Predrag Punosevac Oct 16 '12 at 19:44
This looks very borderline for 'on topic', as TeX expertise will not really help. The detail of regex implementations is always somewhat complex (basically: each one is different), and the TeX link here is at best marginal. – Joseph Wright Oct 16 '12 at 20:00
@PredragPunosevac - I am on Ubuntu 12.04. JosephWright - I only tagged the topic 'Kile', so I thought it was pretty relevant to that :). If it is not "tex" enough, feel free to delete it. – David Doria Oct 16 '12 at 22:20

Browse other questions tagged or ask your own question.