GrepWidget
0
0
730
330
0
0
730
0
16777215
16777215
Find-Replace In Files
-
0
0
Enter the regular expression you want to search for here.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Enter the regular expression you want to search for here.</p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">If you do not check "Regular Expression" below, this is considered a raw string. That means, all meta characters are escaped.</p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Possible meta characters are:</p>
<ul style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;"><li style=" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">.</span> - Matches any character</li>
<li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">^</span> - Matches the beginning of a line</li>
<li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">$</span> - Matches the end of a line</li>
<li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">\b</span> - Matches a word boundary</li>
<li style=" margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">\s</span> - Matches any whitespace character</li></ul>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">The following repetition operators exist:</p>
<ul style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;"><li style=" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">?</span> - The preceding item is matched at most once</li>
<li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">*</span> - The preceding item is matched zero or more times</li>
<li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">+</span> - The preceding item is matched one or more times</li>
<li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">{</span><span style=" font-weight:600; font-style:italic;">n</span><span style=" font-weight:600;">}</span> - The preceding item is matched exactly <span style=" font-style:italic;">n</span> times</li>
<li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">{</span><span style=" font-weight:600; font-style:italic;">n</span><span style=" font-weight:600;">,}</span> - The preceding item is matched <span style=" font-style:italic;">n</span> or more times</li>
<li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">{,</span><span style=" font-weight:600; font-style:italic;">n</span><span style=" font-weight:600;">}</span> - The preceding item is matched at most <span style=" font-style:italic;">n</span> times</li>
<li style=" margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">{</span><span style=" font-weight:600; font-style:italic;">n</span><span style=" font-weight:600;">,</span><span style=" font-weight:600; font-style:italic;">m</span><span style=" font-weight:600;">}</span> - The preceding item is matched at least <span style=" font-style:italic;">n</span>, but at most <span style=" font-style:italic;">m</span> times.</li></ul>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Furthermore, backreferences to bracketed subexpressions are available via the notation \<span style=" font-style:italic;">n</span>.</p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">For further reference, look at <a href="http://www.pcre.org"><span style=" text-decoration: underline; color:#0057ae;">www.pcre.org</span></a> or <span style=" font-style:italic;">man pcresyntax.</span></p></body></html>
true
false
-
Template:
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
templateEdit
-
This is the regular expression template.
This is the regular expression template. <i>%s</i> will be replaced by the pattern, while <i>%%</i> will be replaced by <i>%</i>.
-
Quickly select location from a set of directories
Quick Select
-
Depth:
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
depthSpin
-
Full
-1
-1
-
Pattern:
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
patternCombo
-
Files:
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
filesCombo
-
Case Sensitive:
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
caseSensitiveCheck
-
0
0
Case-sensitive searching.
true
-
Location(s):
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
searchPaths
-
Qt::Horizontal
QSizePolicy::Fixed
361
20
-
-
Regular Expression:
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
regexCheck
-
Enable or disable regular expression.
true
-
Limit to project files:
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
limitToProjectCheck
-
0
0
true
-
Files filter.
Enter the file name pattern of the files to search here. You may give several patterns separated by commas or spaces.
true
false
-
Exclude:
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
excludeCombo
-
Files pattern to exclude
Enter the file name pattern of the files to exclude from the search here. You may give several patterns separated by commas or spaces.<p>Every pattern is internally surrounded by asterisks, so that each pattern can match parts of the file paths.</p>
true
false
-
Qt::Horizontal
QSizePolicy::Fixed
141
16
-
Qt::Horizontal
QSizePolicy::Fixed
41
20
-
Qt::Horizontal
QSizePolicy::Fixed
151
31
-
Enter the replacement template.
-
Replacement Template:
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
replacementTemplateEdit
-
Select the location where you want to search. It can be a directory, a file, or a semicolon separated (without spaces) list of directories/files.
true
false
-
0
0
0
0
30
30
Select a directory to search in.
KComboBox
QComboBox
KPushButton
QPushButton
patternCombo
templateEdit
templateTypeCombo
replacementTemplateEdit
regexCheck
caseSensitiveCheck
searchPaths
directorySelector
syncButton
depthSpin
limitToProjectCheck
filesCombo
excludeCombo