src/eric7/Documentation/Source/eric7.Plugins.WizardPlugins.QRegularExpressionWizard.QRegularExpressionWizardServer.html

branch
eric7
changeset 9209
b99e7fd55fd3
parent 8596
d64760b2da50
child 10437
2f70ca07f0af
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/eric7/Documentation/Source/eric7.Plugins.WizardPlugins.QRegularExpressionWizard.QRegularExpressionWizardServer.html	Thu Jul 07 11:23:56 2022 +0200
@@ -0,0 +1,118 @@
+<!DOCTYPE html>
+<html><head>
+<title>eric7.Plugins.WizardPlugins.QRegularExpressionWizard.QRegularExpressionWizardServer</title>
+<meta charset="UTF-8">
+<link rel="stylesheet" href="styles.css">
+</head>
+<body>
+<a NAME="top" ID="top"></a>
+<h1>eric7.Plugins.WizardPlugins.QRegularExpressionWizard.QRegularExpressionWizardServer</h1>
+
+<p>
+Module implementing the PyQt6 server part of the QRegularExpression wizzard.
+</p>
+<h3>Global Attributes</h3>
+
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Classes</h3>
+
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Functions</h3>
+
+<table>
+
+<tr>
+<td><a href="#main">main</a></td>
+<td>Function containing the main routine.</td>
+</tr>
+<tr>
+<td><a href="#rxExecute">rxExecute</a></td>
+<td>Function to execute the given regular expression for a given text.</td>
+</tr>
+<tr>
+<td><a href="#rxValidate">rxValidate</a></td>
+<td>Function to validate the given regular expression.</td>
+</tr>
+</table>
+<hr />
+<hr />
+<a NAME="main" ID="main"></a>
+<h2>main</h2>
+<b>main</b>(<i></i>)
+
+<p>
+    Function containing the main routine.
+</p>
+<div align="right"><a href="#top">Up</a></div>
+<hr />
+<hr />
+<a NAME="rxExecute" ID="rxExecute"></a>
+<h2>rxExecute</h2>
+<b>rxExecute</b>(<i>regexp, options, text, startpos</i>)
+
+<p>
+    Function to execute the given regular expression for a given text.
+</p>
+<dl>
+
+<dt><i>regexp</i></dt>
+<dd>
+regular expression to validate (string)
+</dd>
+<dt><i>options</i></dt>
+<dd>
+list of options (list of string)
+</dd>
+<dt><i>text</i></dt>
+<dd>
+text to execute on (string)
+</dd>
+<dt><i>startpos</i></dt>
+<dd>
+start position for the execution (integer)
+</dd>
+</dl>
+<dl>
+<dt>Return:</dt>
+<dd>
+tuple of a flag indicating a successful match (boolean) and
+        a list of captures containing the complete match as matched string
+        (string), match start (integer), match end (integer) and match length
+        (integer) for each entry
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr />
+<hr />
+<a NAME="rxValidate" ID="rxValidate"></a>
+<h2>rxValidate</h2>
+<b>rxValidate</b>(<i>regexp, options</i>)
+
+<p>
+    Function to validate the given regular expression.
+</p>
+<dl>
+
+<dt><i>regexp</i></dt>
+<dd>
+regular expression to validate (string)
+</dd>
+<dt><i>options</i></dt>
+<dd>
+list of options (list of string)
+</dd>
+</dl>
+<dl>
+<dt>Return:</dt>
+<dd>
+tuple of flag indicating validity (boolean), error
+        string (string) and error offset (integer)
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr />
+</body></html>
\ No newline at end of file

eric ide

mercurial