The "Find in Project" function is quite useful, however it is case-sensitive, at least when using %s in the text box right of the dropdown box with Template: Normal. Is there documentation on what the %s stands for and what alternatives are allowed?
|
|
|||
|
In line with my comments, I tried a bit around. Kile uses grep as its search tool. Passing Using Template I know this is not a complete answer, I will expand, if I know more. |
||||
|
|
|
Like Predag says I would suggest using sed. See an introduction here: http://www.grymoire.com/Unix/Sed.html and one for regular expressions here: http://www.regular-expressions.info/. |
|||
|
|
From https://projects.kde.org/projects/extragear/office/kile/repository/revisions/master/entry/src/dialogs/findfilesdialog.cpp, |
|||
|
|

%sstands for string and simply pastes the string of the field above into the search phrase. I found this out by selecting Template: Command where the%sbecomes a\\%s\{. – Unapiedra Jan 4 '12 at 21:13\\section{%sin the second field. The error message is "Invalid regular expression: bad repetition syntax". From this we now know that grep is used as the underlying tool. (It might be easier looking in the source code...) – Unapiedra Jan 4 '12 at 21:21