eric6/Documentation/Source/eric6.Helpviewer.GreaseMonkey.GreaseMonkeyUrlMatcher.html

branch
maintenance
changeset 7286
7eb04391adf7
parent 7226
babe80d84a3e
parent 7285
1ff497f33f31
child 7287
1c17f2191bdd
equal deleted inserted replaced
7226:babe80d84a3e 7286:7eb04391adf7
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.Helpviewer.GreaseMonkey.GreaseMonkeyUrlMatcher</title>
4 <meta charset="UTF-8">
5 <style>
6 body {
7 background: #EDECE6;
8 margin: 0em 1em 10em 1em;
9 color: black;
10 }
11
12 h1 { color: white; background: #85774A; }
13 h2 { color: white; background: #85774A; }
14 h3 { color: white; background: #9D936E; }
15 h4 { color: white; background: #9D936E; }
16
17 a { color: #BA6D36; }
18
19 </style>
20 </head>
21 <body><a NAME="top" ID="top"></a>
22 <h1>eric6.Helpviewer.GreaseMonkey.GreaseMonkeyUrlMatcher</h1>
23 <p>
24 Module implementing the GreaseMonkey URL matcher.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#GreaseMonkeyUrlMatcher">GreaseMonkeyUrlMatcher</a></td>
34 <td>Class implementing the GreaseMonkey URL matcher.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr>
40 <td><a href="#wildcardMatch">wildcardMatch</a></td>
41 <td>Module function implementing a special wildcard matcher.</td>
42 </tr>
43 </table>
44 <hr /><hr />
45 <a NAME="GreaseMonkeyUrlMatcher" ID="GreaseMonkeyUrlMatcher"></a>
46 <h2>GreaseMonkeyUrlMatcher</h2>
47 <p>
48 Class implementing the GreaseMonkey URL matcher.
49 </p>
50 <h3>Derived from</h3>
51 object
52 <h3>Class Attributes</h3>
53 <table>
54 <tr><td>None</td></tr>
55 </table>
56 <h3>Class Methods</h3>
57 <table>
58 <tr><td>None</td></tr>
59 </table>
60 <h3>Methods</h3>
61 <table>
62 <tr>
63 <td><a href="#GreaseMonkeyUrlMatcher.__init__">GreaseMonkeyUrlMatcher</a></td>
64 <td>Constructor</td>
65 </tr><tr>
66 <td><a href="#GreaseMonkeyUrlMatcher.__parsePattern">__parsePattern</a></td>
67 <td>Private method to parse the match pattern.</td>
68 </tr><tr>
69 <td><a href="#GreaseMonkeyUrlMatcher.match">match</a></td>
70 <td>Public method to match the given URL.</td>
71 </tr><tr>
72 <td><a href="#GreaseMonkeyUrlMatcher.pattern">pattern</a></td>
73 <td>Public method to get the match pattern.</td>
74 </tr>
75 </table>
76 <h3>Static Methods</h3>
77 <table>
78 <tr><td>None</td></tr>
79 </table>
80 <a NAME="GreaseMonkeyUrlMatcher.__init__" ID="GreaseMonkeyUrlMatcher.__init__"></a>
81 <h4>GreaseMonkeyUrlMatcher (Constructor)</h4>
82 <b>GreaseMonkeyUrlMatcher</b>(<i>pattern</i>)
83 <p>
84 Constructor
85 </p><dl>
86 <dt><i>pattern</i></dt>
87 <dd>
88 pattern to be used for the matching (string)
89 </dd>
90 </dl><a NAME="GreaseMonkeyUrlMatcher.__parsePattern" ID="GreaseMonkeyUrlMatcher.__parsePattern"></a>
91 <h4>GreaseMonkeyUrlMatcher.__parsePattern</h4>
92 <b>__parsePattern</b>(<i>pattern</i>)
93 <p>
94 Private method to parse the match pattern.
95 </p><dl>
96 <dt><i>pattern</i></dt>
97 <dd>
98 match pattern to be used (string)
99 </dd>
100 </dl><a NAME="GreaseMonkeyUrlMatcher.match" ID="GreaseMonkeyUrlMatcher.match"></a>
101 <h4>GreaseMonkeyUrlMatcher.match</h4>
102 <b>match</b>(<i>urlString</i>)
103 <p>
104 Public method to match the given URL.
105 </p><dl>
106 <dt><i>urlString</i></dt>
107 <dd>
108 URL to match (string)
109 </dd>
110 </dl><dl>
111 <dt>Returns:</dt>
112 <dd>
113 flag indicating a successful match (boolean)
114 </dd>
115 </dl><a NAME="GreaseMonkeyUrlMatcher.pattern" ID="GreaseMonkeyUrlMatcher.pattern"></a>
116 <h4>GreaseMonkeyUrlMatcher.pattern</h4>
117 <b>pattern</b>(<i></i>)
118 <p>
119 Public method to get the match pattern.
120 </p><dl>
121 <dt>Returns:</dt>
122 <dd>
123 match pattern (string)
124 </dd>
125 </dl>
126 <div align="right"><a href="#top">Up</a></div>
127 <hr /><hr />
128 <a NAME="wildcardMatch" ID="wildcardMatch"></a>
129 <h2>wildcardMatch</h2>
130 <b>wildcardMatch</b>(<i>string, pattern</i>)
131 <p>
132 Module function implementing a special wildcard matcher.
133 </p><dl>
134 <dt><i>string</i></dt>
135 <dd>
136 string to match (string)
137 </dd><dt><i>pattern</i></dt>
138 <dd>
139 pattern to be used (string)
140 </dd>
141 </dl><dl>
142 <dt>Returns:</dt>
143 <dd>
144 flag indicating a successful match (boolean)
145 </dd>
146 </dl>
147 <div align="right"><a href="#top">Up</a></div>
148 <hr />
149 </body></html>

eric ide

mercurial