|
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/Plugins/WizardPlugins/PyRegExpWizard/PyRegExpWizardDialog.ui' |
|
2 # |
|
3 # Created by: PyQt6 UI code generator 6.7.0 |
|
4 # |
|
5 # WARNING: Any manual changes made to this file will be lost when pyuic6 is |
|
6 # run again. Do not edit this file unless you know what you are doing. |
|
7 |
|
8 |
|
9 from PyQt6 import QtCore, QtGui, QtWidgets |
|
10 |
|
11 |
|
12 class Ui_PyRegExpWizardDialog(object): |
|
13 def setupUi(self, PyRegExpWizardDialog): |
|
14 PyRegExpWizardDialog.setObjectName("PyRegExpWizardDialog") |
|
15 PyRegExpWizardDialog.resize(750, 700) |
|
16 PyRegExpWizardDialog.setProperty("sizeGripEnabled", True) |
|
17 self.verticalLayout_4 = QtWidgets.QVBoxLayout(PyRegExpWizardDialog) |
|
18 self.verticalLayout_4.setObjectName("verticalLayout_4") |
|
19 self.hboxlayout = QtWidgets.QHBoxLayout() |
|
20 self.hboxlayout.setObjectName("hboxlayout") |
|
21 self.variableLabel = QtWidgets.QLabel(parent=PyRegExpWizardDialog) |
|
22 self.variableLabel.setObjectName("variableLabel") |
|
23 self.hboxlayout.addWidget(self.variableLabel) |
|
24 self.variableLineEdit = QtWidgets.QLineEdit(parent=PyRegExpWizardDialog) |
|
25 self.variableLineEdit.setObjectName("variableLineEdit") |
|
26 self.hboxlayout.addWidget(self.variableLineEdit) |
|
27 self.verticalLayout_4.addLayout(self.hboxlayout) |
|
28 self.importCheckBox = QtWidgets.QCheckBox(parent=PyRegExpWizardDialog) |
|
29 self.importCheckBox.setObjectName("importCheckBox") |
|
30 self.verticalLayout_4.addWidget(self.importCheckBox) |
|
31 self.variableLine = QtWidgets.QFrame(parent=PyRegExpWizardDialog) |
|
32 self.variableLine.setFrameShape(QtWidgets.QFrame.Shape.HLine) |
|
33 self.variableLine.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken) |
|
34 self.variableLine.setFrameShape(QtWidgets.QFrame.Shape.HLine) |
|
35 self.variableLine.setObjectName("variableLine") |
|
36 self.verticalLayout_4.addWidget(self.variableLine) |
|
37 self.hboxlayout1 = QtWidgets.QHBoxLayout() |
|
38 self.hboxlayout1.setObjectName("hboxlayout1") |
|
39 self.commentButton = QtWidgets.QToolButton(parent=PyRegExpWizardDialog) |
|
40 self.commentButton.setObjectName("commentButton") |
|
41 self.hboxlayout1.addWidget(self.commentButton) |
|
42 self.charButton = QtWidgets.QToolButton(parent=PyRegExpWizardDialog) |
|
43 self.charButton.setObjectName("charButton") |
|
44 self.hboxlayout1.addWidget(self.charButton) |
|
45 self.anycharButton = QtWidgets.QToolButton(parent=PyRegExpWizardDialog) |
|
46 self.anycharButton.setObjectName("anycharButton") |
|
47 self.hboxlayout1.addWidget(self.anycharButton) |
|
48 self.repeatButton = QtWidgets.QToolButton(parent=PyRegExpWizardDialog) |
|
49 self.repeatButton.setObjectName("repeatButton") |
|
50 self.hboxlayout1.addWidget(self.repeatButton) |
|
51 self.nonGroupButton = QtWidgets.QToolButton(parent=PyRegExpWizardDialog) |
|
52 self.nonGroupButton.setObjectName("nonGroupButton") |
|
53 self.hboxlayout1.addWidget(self.nonGroupButton) |
|
54 self.groupButton = QtWidgets.QToolButton(parent=PyRegExpWizardDialog) |
|
55 self.groupButton.setObjectName("groupButton") |
|
56 self.hboxlayout1.addWidget(self.groupButton) |
|
57 self.namedGroupButton = QtWidgets.QToolButton(parent=PyRegExpWizardDialog) |
|
58 self.namedGroupButton.setObjectName("namedGroupButton") |
|
59 self.hboxlayout1.addWidget(self.namedGroupButton) |
|
60 self.namedReferenceButton = QtWidgets.QToolButton(parent=PyRegExpWizardDialog) |
|
61 self.namedReferenceButton.setObjectName("namedReferenceButton") |
|
62 self.hboxlayout1.addWidget(self.namedReferenceButton) |
|
63 self.altnButton = QtWidgets.QToolButton(parent=PyRegExpWizardDialog) |
|
64 self.altnButton.setObjectName("altnButton") |
|
65 self.hboxlayout1.addWidget(self.altnButton) |
|
66 self.beglineButton = QtWidgets.QToolButton(parent=PyRegExpWizardDialog) |
|
67 self.beglineButton.setObjectName("beglineButton") |
|
68 self.hboxlayout1.addWidget(self.beglineButton) |
|
69 self.endlineButton = QtWidgets.QToolButton(parent=PyRegExpWizardDialog) |
|
70 self.endlineButton.setObjectName("endlineButton") |
|
71 self.hboxlayout1.addWidget(self.endlineButton) |
|
72 self.wordboundButton = QtWidgets.QToolButton(parent=PyRegExpWizardDialog) |
|
73 self.wordboundButton.setObjectName("wordboundButton") |
|
74 self.hboxlayout1.addWidget(self.wordboundButton) |
|
75 self.nonwordboundButton = QtWidgets.QToolButton(parent=PyRegExpWizardDialog) |
|
76 self.nonwordboundButton.setObjectName("nonwordboundButton") |
|
77 self.hboxlayout1.addWidget(self.nonwordboundButton) |
|
78 self.poslookaheadButton = QtWidgets.QToolButton(parent=PyRegExpWizardDialog) |
|
79 self.poslookaheadButton.setObjectName("poslookaheadButton") |
|
80 self.hboxlayout1.addWidget(self.poslookaheadButton) |
|
81 self.neglookaheadButton = QtWidgets.QToolButton(parent=PyRegExpWizardDialog) |
|
82 self.neglookaheadButton.setObjectName("neglookaheadButton") |
|
83 self.hboxlayout1.addWidget(self.neglookaheadButton) |
|
84 self.poslookbehindButton = QtWidgets.QToolButton(parent=PyRegExpWizardDialog) |
|
85 self.poslookbehindButton.setObjectName("poslookbehindButton") |
|
86 self.hboxlayout1.addWidget(self.poslookbehindButton) |
|
87 self.neglookbehindButton = QtWidgets.QToolButton(parent=PyRegExpWizardDialog) |
|
88 self.neglookbehindButton.setObjectName("neglookbehindButton") |
|
89 self.hboxlayout1.addWidget(self.neglookbehindButton) |
|
90 spacerItem = QtWidgets.QSpacerItem(16, 20, QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Minimum) |
|
91 self.hboxlayout1.addItem(spacerItem) |
|
92 self.undoButton = QtWidgets.QToolButton(parent=PyRegExpWizardDialog) |
|
93 self.undoButton.setObjectName("undoButton") |
|
94 self.hboxlayout1.addWidget(self.undoButton) |
|
95 self.redoButton = QtWidgets.QToolButton(parent=PyRegExpWizardDialog) |
|
96 self.redoButton.setObjectName("redoButton") |
|
97 self.hboxlayout1.addWidget(self.redoButton) |
|
98 spacerItem1 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) |
|
99 self.hboxlayout1.addItem(spacerItem1) |
|
100 self.verticalLayout_4.addLayout(self.hboxlayout1) |
|
101 self.splitter_2 = QtWidgets.QSplitter(parent=PyRegExpWizardDialog) |
|
102 self.splitter_2.setOrientation(QtCore.Qt.Orientation.Vertical) |
|
103 self.splitter_2.setChildrenCollapsible(False) |
|
104 self.splitter_2.setObjectName("splitter_2") |
|
105 self.widget = QtWidgets.QWidget(parent=self.splitter_2) |
|
106 self.widget.setObjectName("widget") |
|
107 self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.widget) |
|
108 self.verticalLayout_3.setContentsMargins(0, 0, 0, 0) |
|
109 self.verticalLayout_3.setObjectName("verticalLayout_3") |
|
110 self.splitter = QtWidgets.QSplitter(parent=self.widget) |
|
111 self.splitter.setOrientation(QtCore.Qt.Orientation.Vertical) |
|
112 self.splitter.setChildrenCollapsible(False) |
|
113 self.splitter.setObjectName("splitter") |
|
114 self.widget1 = QtWidgets.QWidget(parent=self.splitter) |
|
115 self.widget1.setObjectName("widget1") |
|
116 self.verticalLayout = QtWidgets.QVBoxLayout(self.widget1) |
|
117 self.verticalLayout.setContentsMargins(0, 0, 0, 0) |
|
118 self.verticalLayout.setObjectName("verticalLayout") |
|
119 self.textLabel1 = QtWidgets.QLabel(parent=self.widget1) |
|
120 self.textLabel1.setAlignment(QtCore.Qt.AlignmentFlag.AlignTop) |
|
121 self.textLabel1.setObjectName("textLabel1") |
|
122 self.verticalLayout.addWidget(self.textLabel1) |
|
123 self.regexpTextEdit = QtWidgets.QTextEdit(parent=self.widget1) |
|
124 self.regexpTextEdit.setAcceptRichText(False) |
|
125 self.regexpTextEdit.setObjectName("regexpTextEdit") |
|
126 self.verticalLayout.addWidget(self.regexpTextEdit) |
|
127 self.widget2 = QtWidgets.QWidget(parent=self.splitter) |
|
128 self.widget2.setObjectName("widget2") |
|
129 self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.widget2) |
|
130 self.verticalLayout_2.setContentsMargins(0, 0, 0, 0) |
|
131 self.verticalLayout_2.setObjectName("verticalLayout_2") |
|
132 self.textLabel2 = QtWidgets.QLabel(parent=self.widget2) |
|
133 self.textLabel2.setAlignment(QtCore.Qt.AlignmentFlag.AlignTop) |
|
134 self.textLabel2.setObjectName("textLabel2") |
|
135 self.verticalLayout_2.addWidget(self.textLabel2) |
|
136 self.textTextEdit = QtWidgets.QTextEdit(parent=self.widget2) |
|
137 self.textTextEdit.setAcceptRichText(False) |
|
138 self.textTextEdit.setObjectName("textTextEdit") |
|
139 self.verticalLayout_2.addWidget(self.textTextEdit) |
|
140 self.verticalLayout_3.addWidget(self.splitter) |
|
141 self.gridlayout = QtWidgets.QGridLayout() |
|
142 self.gridlayout.setObjectName("gridlayout") |
|
143 self.multilineCheckBox = QtWidgets.QCheckBox(parent=self.widget) |
|
144 self.multilineCheckBox.setObjectName("multilineCheckBox") |
|
145 self.gridlayout.addWidget(self.multilineCheckBox, 0, 1, 1, 1) |
|
146 self.verboseCheckBox = QtWidgets.QCheckBox(parent=self.widget) |
|
147 self.verboseCheckBox.setObjectName("verboseCheckBox") |
|
148 self.gridlayout.addWidget(self.verboseCheckBox, 1, 0, 1, 1) |
|
149 self.caseSensitiveCheckBox = QtWidgets.QCheckBox(parent=self.widget) |
|
150 self.caseSensitiveCheckBox.setChecked(True) |
|
151 self.caseSensitiveCheckBox.setObjectName("caseSensitiveCheckBox") |
|
152 self.gridlayout.addWidget(self.caseSensitiveCheckBox, 0, 0, 1, 1) |
|
153 self.unicodeCheckBox = QtWidgets.QCheckBox(parent=self.widget) |
|
154 self.unicodeCheckBox.setObjectName("unicodeCheckBox") |
|
155 self.gridlayout.addWidget(self.unicodeCheckBox, 1, 1, 1, 1) |
|
156 self.dotallCheckBox = QtWidgets.QCheckBox(parent=self.widget) |
|
157 self.dotallCheckBox.setObjectName("dotallCheckBox") |
|
158 self.gridlayout.addWidget(self.dotallCheckBox, 0, 2, 1, 1) |
|
159 self.verticalLayout_3.addLayout(self.gridlayout) |
|
160 self.resultTable = QtWidgets.QTableWidget(parent=self.splitter_2) |
|
161 self.resultTable.setEditTriggers(QtWidgets.QAbstractItemView.EditTrigger.NoEditTriggers) |
|
162 self.resultTable.setObjectName("resultTable") |
|
163 self.resultTable.setColumnCount(0) |
|
164 self.resultTable.setRowCount(0) |
|
165 self.verticalLayout_4.addWidget(self.splitter_2) |
|
166 self.buttonBox = QtWidgets.QDialogButtonBox(parent=PyRegExpWizardDialog) |
|
167 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) |
|
168 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Close|QtWidgets.QDialogButtonBox.StandardButton.Ok) |
|
169 self.buttonBox.setObjectName("buttonBox") |
|
170 self.verticalLayout_4.addWidget(self.buttonBox) |
|
171 |
|
172 self.retranslateUi(PyRegExpWizardDialog) |
|
173 QtCore.QMetaObject.connectSlotsByName(PyRegExpWizardDialog) |
|
174 PyRegExpWizardDialog.setTabOrder(self.variableLineEdit, self.importCheckBox) |
|
175 PyRegExpWizardDialog.setTabOrder(self.importCheckBox, self.commentButton) |
|
176 PyRegExpWizardDialog.setTabOrder(self.commentButton, self.charButton) |
|
177 PyRegExpWizardDialog.setTabOrder(self.charButton, self.anycharButton) |
|
178 PyRegExpWizardDialog.setTabOrder(self.anycharButton, self.repeatButton) |
|
179 PyRegExpWizardDialog.setTabOrder(self.repeatButton, self.nonGroupButton) |
|
180 PyRegExpWizardDialog.setTabOrder(self.nonGroupButton, self.groupButton) |
|
181 PyRegExpWizardDialog.setTabOrder(self.groupButton, self.namedGroupButton) |
|
182 PyRegExpWizardDialog.setTabOrder(self.namedGroupButton, self.namedReferenceButton) |
|
183 PyRegExpWizardDialog.setTabOrder(self.namedReferenceButton, self.altnButton) |
|
184 PyRegExpWizardDialog.setTabOrder(self.altnButton, self.beglineButton) |
|
185 PyRegExpWizardDialog.setTabOrder(self.beglineButton, self.endlineButton) |
|
186 PyRegExpWizardDialog.setTabOrder(self.endlineButton, self.wordboundButton) |
|
187 PyRegExpWizardDialog.setTabOrder(self.wordboundButton, self.nonwordboundButton) |
|
188 PyRegExpWizardDialog.setTabOrder(self.nonwordboundButton, self.poslookaheadButton) |
|
189 PyRegExpWizardDialog.setTabOrder(self.poslookaheadButton, self.neglookaheadButton) |
|
190 PyRegExpWizardDialog.setTabOrder(self.neglookaheadButton, self.poslookbehindButton) |
|
191 PyRegExpWizardDialog.setTabOrder(self.poslookbehindButton, self.neglookbehindButton) |
|
192 PyRegExpWizardDialog.setTabOrder(self.neglookbehindButton, self.undoButton) |
|
193 PyRegExpWizardDialog.setTabOrder(self.undoButton, self.redoButton) |
|
194 PyRegExpWizardDialog.setTabOrder(self.redoButton, self.regexpTextEdit) |
|
195 PyRegExpWizardDialog.setTabOrder(self.regexpTextEdit, self.textTextEdit) |
|
196 PyRegExpWizardDialog.setTabOrder(self.textTextEdit, self.caseSensitiveCheckBox) |
|
197 PyRegExpWizardDialog.setTabOrder(self.caseSensitiveCheckBox, self.multilineCheckBox) |
|
198 PyRegExpWizardDialog.setTabOrder(self.multilineCheckBox, self.dotallCheckBox) |
|
199 PyRegExpWizardDialog.setTabOrder(self.dotallCheckBox, self.verboseCheckBox) |
|
200 PyRegExpWizardDialog.setTabOrder(self.verboseCheckBox, self.unicodeCheckBox) |
|
201 PyRegExpWizardDialog.setTabOrder(self.unicodeCheckBox, self.resultTable) |
|
202 |
|
203 def retranslateUi(self, PyRegExpWizardDialog): |
|
204 _translate = QtCore.QCoreApplication.translate |
|
205 PyRegExpWizardDialog.setWindowTitle(_translate("PyRegExpWizardDialog", "Python re Wizard")) |
|
206 self.variableLabel.setText(_translate("PyRegExpWizardDialog", "Variable Name:")) |
|
207 self.importCheckBox.setText(_translate("PyRegExpWizardDialog", "Include import statement")) |
|
208 self.commentButton.setToolTip(_translate("PyRegExpWizardDialog", "<b>Comment: (?#)</b>\n" |
|
209 "<p>Insert some comment inside your regexp.</p>")) |
|
210 self.commentButton.setWhatsThis(_translate("PyRegExpWizardDialog", "<b>Comment: (?#)</b>\n" |
|
211 "<p>Insert some comment inside your regexp.The regex engine ignores everything after the (?# until the first closing round bracket. \n" |
|
212 "The following example could clarify the regexp which match a valid date: </p>\n" |
|
213 "<p>(?#year)(19|20)\\d\\d[- /.](?#month)(0[1-9]|1[012])[- /.](?#day)(0[1-9]|[12][0-9]|3[01])</p>")) |
|
214 self.charButton.setToolTip(_translate("PyRegExpWizardDialog", "<b>Single character of a range (e.g. [abcd])</b><p>Select a single character of a range via a specific dialog.</p>")) |
|
215 self.charButton.setWhatsThis(_translate("PyRegExpWizardDialog", "<b>Single character of a range (e.g. [abcd])</b><p>Select a single character of a range via a specific dialog. This dialog will help to edit the range of characters and add some specific conditions.</p>s")) |
|
216 self.anycharButton.setToolTip(_translate("PyRegExpWizardDialog", "<b>Any character: \'.\'</b>\n" |
|
217 "<p>Select to insert a dot (.) in your regexp.</p>")) |
|
218 self.anycharButton.setWhatsThis(_translate("PyRegExpWizardDialog", "<b>Any character: \'.\'</b>\n" |
|
219 "<p>Select to insert a dot (.) in your regexp. The dot matches a single character, except line break characters (by default). \n" |
|
220 "E.g. \'gr.y\' matches \'gray\', \'grey\', \'gr%y\', etc. Use the dot sparingly. Often, a character class or negated\n" |
|
221 "character class is faster and more precise.</p>")) |
|
222 self.repeatButton.setToolTip(_translate("PyRegExpWizardDialog", "<b>Repeat contents</b>\n" |
|
223 "<p>Select a repetition condition via a specific dialog. This dialog will help to specify the allowed range for repetitions.</p>")) |
|
224 self.repeatButton.setWhatsThis(_translate("PyRegExpWizardDialog", "<b>Repeat contents</b>\n" |
|
225 "<p>Select a repetition condition via a specific dialog. This dialog will help to specify the allowed range for repetitions.</p>")) |
|
226 self.nonGroupButton.setToolTip(_translate("PyRegExpWizardDialog", "<b>Non capturing parentheses: (?:)</b>\n" |
|
227 "<p>Select to insert some non capturing brackets.</p>")) |
|
228 self.nonGroupButton.setWhatsThis(_translate("PyRegExpWizardDialog", "<b>Non capturing parentheses: (?:)</b>\n" |
|
229 "<p>Select to insert some non capturing brackets. It can be used to apply a regexp quantifier (eg. \'?\' or \'+\') to the entire\n" |
|
230 "group of characters inside the brakets. E.g. the regex \'Set(?:Value)?\' matches \'Set\' or \'SetValue\'. The \'?:\' inside the brakets\n" |
|
231 "means that the content of the match (called the backreference) is not stored for further use.</p>")) |
|
232 self.groupButton.setToolTip(_translate("PyRegExpWizardDialog", "<b>Group: ()</b>\n" |
|
233 "<p>Select to insert some capturing brackets.</p>")) |
|
234 self.groupButton.setWhatsThis(_translate("PyRegExpWizardDialog", "<b>Group: ()</b>\n" |
|
235 "<p>Select to insert some capturing brackets. They can be used to apply a regexp quantifier (e.g. \'?\' or \'+\') to the entire group of \n" |
|
236 "characters inside the brakets. E.g. the regex \'Set(Value)?\' matches \'Set\' or \'SetValue\'. Contrary to non-capturing parentheses, \n" |
|
237 "the backreference matched inside the brakets is stored for further use (i.e. \'Value\' in the second example above). \n" |
|
238 "One can access the backereference with the \'\\1\' expression. </p>\n" |
|
239 "<p>E.g. \'([a-c])x\\1x\\1\' will match \'axaxa\', \'bxbxb\' and \'cxcxc\'.</p>")) |
|
240 self.namedGroupButton.setToolTip(_translate("PyRegExpWizardDialog", "<b>Named group: (?P<<i>groupname</i>>)</b>\n" |
|
241 "<p>Select to insert some named group brackets.</p>")) |
|
242 self.namedGroupButton.setWhatsThis(_translate("PyRegExpWizardDialog", "<b>Named group: (?P<<i>groupname</i>>)</b>\n" |
|
243 "<p>Select to insert some named group brackets. Usage is similar to standard group parentheses as the matched \n" |
|
244 "backreference is also stored for further usage. The difference is that a name is given to the match. This is useful when \n" |
|
245 "the work to do on the match becomes a bit complicated. One can access the backreference via the group name (i.e (?P=<i>groupname</i>)).\n" |
|
246 "E.g. (?P<foo>[abc])x(?P=foo)x(?P=foo)x matches \'axaxax\',\'bxbxbx\' or \'cxcxcx\' (\'foo\' is the group name)</p>")) |
|
247 self.namedReferenceButton.setToolTip(_translate("PyRegExpWizardDialog", "<b>Reference named group: (?P=<i>groupname</i>)</b>\n" |
|
248 "<p>Select to insert a reference to named group previously declared.</p>")) |
|
249 self.namedReferenceButton.setWhatsThis(_translate("PyRegExpWizardDialog", "<b>Reference named group: (?P=<i>groupname</i>)</b>\n" |
|
250 "<p>Select to insert a reference to named group previously declared. Each reference group refers to the match\n" |
|
251 " found by the corresponding named group. In the following example, (?P=foo) may refer to the charaters \'a\',\'b\' or \'c\'.</p>\n" |
|
252 "<p>E.g. (?P<foo>[abc])x(?P=foo)x(?P=foo)x matches \'axaxax\',\'bxbxbx\' or \'cxcxcx\'.</p>")) |
|
253 self.altnButton.setToolTip(_translate("PyRegExpWizardDialog", "<b>Alternatives: \'|\'</b>\n" |
|
254 "<p>Select to insert the alternation symbol \'|\'. </p>")) |
|
255 self.altnButton.setWhatsThis(_translate("PyRegExpWizardDialog", "<b>Alternatives: \'|\'</b>\n" |
|
256 "<p>Select to insert the alternation symbol \'|\'. The alternation is used to match a single regular expression out of \n" |
|
257 "several possible regular expressions. E.g. \'cat|dog|mouse|fish\' matches words containing the word \'cat\', \'dog\',\'mouse\' or \'fish\'.\n" |
|
258 "Be aware that in the above example, the alternatives refer to whole or part of words. If you want to match exactly the\n" |
|
259 " words \'cat\', \'dog\', ... you should express the fact that you only want to match complete words: \'\\b(cat|dog|mouse|fish)\\b\'</p>")) |
|
260 self.beglineButton.setToolTip(_translate("PyRegExpWizardDialog", "<b>Begin of line: \'^\'</b>\n" |
|
261 "<p>Select to insert the start line character (^).</p>")) |
|
262 self.beglineButton.setWhatsThis(_translate("PyRegExpWizardDialog", "<b>Begin of line: \'^\'</b>\n" |
|
263 "<p>Select to insert the start line character (^). It is used to find some expressions at the begining of lines.\n" |
|
264 "E.g. \'^[A-Z]\' match lines starting with a capitalized character. </p>")) |
|
265 self.endlineButton.setToolTip(_translate("PyRegExpWizardDialog", "<b>End of line: \'$\'</b>\n" |
|
266 "<p>Select to insert the end of line character ($).</p>")) |
|
267 self.endlineButton.setWhatsThis(_translate("PyRegExpWizardDialog", "<b>End of line: \'$\'</b>\n" |
|
268 "<p>Select to insert the end of line character ($). It is used to find some expressions at the end of lines.</p>")) |
|
269 self.wordboundButton.setToolTip(_translate("PyRegExpWizardDialog", "<b>Word boundary</b>\n" |
|
270 "<p>Select to insert the word boudary character (\\b).</p>")) |
|
271 self.wordboundButton.setWhatsThis(_translate("PyRegExpWizardDialog", "<b>Word boundary</b>\n" |
|
272 "<p>Select to insert the word boudary character (\\b). This character is used to express the fact that word \n" |
|
273 "must begin or end at this position. E.g. \'\\bcat\\b\' matches exactly the word \'cat\' while \'concatenation\' is ignored.</p>")) |
|
274 self.nonwordboundButton.setToolTip(_translate("PyRegExpWizardDialog", "<b>Non word boundary</b>\n" |
|
275 "<p>Select to insert the word boudary character (\\B). \\B is the negated version of \\b.</p>")) |
|
276 self.nonwordboundButton.setWhatsThis(_translate("PyRegExpWizardDialog", "<b>Non word boundary</b>\n" |
|
277 "<p>Select to insert the word boudary character (\\B). \\B is the negated version of \\b. \\B matches at every position where \\b \n" |
|
278 "does not. Effectively, \\B matches at any position between two word characters as well as at any position between two non-word characters.</p>")) |
|
279 self.poslookaheadButton.setToolTip(_translate("PyRegExpWizardDialog", "<b>Positive lookahead: (?=<i>regexpr</i>)</b>\n" |
|
280 "<p>Select to insert the positive lookhead brackets.</p>")) |
|
281 self.poslookaheadButton.setWhatsThis(_translate("PyRegExpWizardDialog", "<b>Positive lookahead: (?=<i>regexpr</i>)</b>\n" |
|
282 "<p>Select to insert the positive lookhead brackets. Basically, positive lookhead is used to match a character only if followed by another one.\n" |
|
283 "Writting \'q(?=u)\' means that you want to match the \'q\' character only if it is followed by \'u\'. In this statement \'u\' is a trivial \n" |
|
284 "regexp which may be replaced by a more complex expression; q(?=[abc])\' will match a \'q\' if followed by either \'a\', \'b\' or \'c\'.</p>")) |
|
285 self.neglookaheadButton.setToolTip(_translate("PyRegExpWizardDialog", "<b>Negative lookahead: (?!<i>regexpr</i>)</b>\n" |
|
286 "<p>Select to insert the negative lookhead brackets.</p>")) |
|
287 self.neglookaheadButton.setWhatsThis(_translate("PyRegExpWizardDialog", "<b>Negative lookahead: (?!<i>regexpr</i>)</b>\n" |
|
288 "<p>Select to insert the negative lookhead brackets. Basically, negative lookhead is used to match a character only if it is not\n" |
|
289 "followed by a another one. Writting \'q(?!u)\' means that you want to match \'q\' only if it is not followed by \'u\'. In this statement, \'u\' is a\n" |
|
290 "trivial regexp which may be replaced by a more complex expression; \'q(?![abc])\' will match a \'q\' if it is followed by anything else than \'a\', \'b\' or \'c\'.</p>")) |
|
291 self.poslookbehindButton.setToolTip(_translate("PyRegExpWizardDialog", "<b>Positive lookbehind: (?<=<i>regexpr</i>)</b>\n" |
|
292 "<p>Select to insert the positive lookbehind brackets.</p>")) |
|
293 self.poslookbehindButton.setWhatsThis(_translate("PyRegExpWizardDialog", "<b>Positive lookbehind: (?<=<i>regexpr</i>)</b>\n" |
|
294 "<p>Select to insert the positive lookbehind brackets. Lookbehind has the same effect as lookahead, but works backwards. \n" |
|
295 "It is used to match a character only if preceded by another one. Writting \'(?<=u)q\' means that you want to match the \'q\' character \n" |
|
296 "only if it is preceded by \'u\'. As with lookhead, \'u\' may be replaced by a more complex expression; \'(?<=[abc])q\' will match a \'q\' if preceded by either \'a\', \'b\' or \'c\'.</p>")) |
|
297 self.neglookbehindButton.setToolTip(_translate("PyRegExpWizardDialog", "<b>Negative lookbehind (?<!<i>regexpr</i>)</b>\n" |
|
298 "<p>Select to insert the negative lookbehind brackets.</p>")) |
|
299 self.neglookbehindButton.setWhatsThis(_translate("PyRegExpWizardDialog", "<b>Negative lookbehind (?<!<i>regexpr</i>)</b>\n" |
|
300 "<p>Select to insert the negative lookbehind brackets. Lookbehind has the same effect as lookahead, \n" |
|
301 "but works backwards. It is used to match a character only if not preceded by another one. Writting \'(?<!u)q\' means that you want to match the \'q\' \n" |
|
302 "character only if it is not preceded by \'u\'. As other lookaround, \'u\' may be replaced by a more complex \n" |
|
303 "expression; \'(?<![abc])q\' will match a \'q\' only if not preceded by either \'a\', \'b\' nor \'c\'.</p>")) |
|
304 self.undoButton.setToolTip(_translate("PyRegExpWizardDialog", "<b>Undo last edit</b>")) |
|
305 self.redoButton.setToolTip(_translate("PyRegExpWizardDialog", "<b>Redo last edit</b>")) |
|
306 self.textLabel1.setText(_translate("PyRegExpWizardDialog", "Regexp:")) |
|
307 self.textLabel2.setText(_translate("PyRegExpWizardDialog", "Text:")) |
|
308 self.multilineCheckBox.setToolTip(_translate("PyRegExpWizardDialog", "\"^\" matches beginning of line, \"$\" matches end of line")) |
|
309 self.multilineCheckBox.setText(_translate("PyRegExpWizardDialog", "Match Linebreaks")) |
|
310 self.verboseCheckBox.setText(_translate("PyRegExpWizardDialog", "Verbose Regexp")) |
|
311 self.caseSensitiveCheckBox.setText(_translate("PyRegExpWizardDialog", "Case Sensitive")) |
|
312 self.unicodeCheckBox.setText(_translate("PyRegExpWizardDialog", "ASCII")) |
|
313 self.dotallCheckBox.setToolTip(_translate("PyRegExpWizardDialog", "\".\" matches linebreaks as well")) |
|
314 self.dotallCheckBox.setText(_translate("PyRegExpWizardDialog", "Dot matches Linebreak")) |