Rev 35 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | daniel-mar | 1 | <!DOCTYPE html> |
2 | <html lang="en"> |
||
3 | <head> |
||
4 | <title>OID repository - Search - Regexp</title> |
||
5 | <meta charset="UTF-8"><!-- <meta content="text/html; charset=iso-8859-1" http-equiv="content-type"> --> |
||
6 | <meta name="google-translate-customization" content="ae799a386ca63905-075d0f84d2caa8b0-g8dbf29cdfe9cdbeb-c"> |
||
7 | <link rel="Stylesheet" type="text/css" href="style.css"> |
||
8 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
||
9 | <meta name="DESCRIPTION" content="This OID repository gathers information about Object Identifiers (OIDs), and provides tools to display and search for this information."> |
||
10 | <meta name="keywords" content="object identifier oid OID repository registration authority ISO ITU"> |
||
38 | daniel-mar | 11 | <link rel="icon" type="/image/png" href="images/favicon.png"> |
2 | daniel-mar | 12 | <script src="scripts.js"></script> |
13 | </head> |
||
14 | <body id="body" onload="_onload()"> |
||
15 | <div id="global_container"> |
||
16 | <div id="header"> |
||
17 | <a href="index.htm"> |
||
18 | <img src="images/treewall.jpg" width="130" height="110"> |
||
19 | </a> |
||
6 | daniel-mar | 20 | <h1 id="header_h1">OID Repository</h1><br><br><br><br> |
2 | daniel-mar | 21 | <div id="header_url_and_menu"> |
6 | daniel-mar | 22 | <div id="header_url">www.oid-info.com</div> |
2 | daniel-mar | 23 | <div id="header_url_right"> |
24 | <ul id="header_menu"> |
||
25 | <li><a href="index.htm">Home</a></li> |
||
26 | <li><a href="/cgi-bin/display?tree=">Tree display</a></li> |
||
27 | <li><a href="basic-search.htm">Search</a></li> |
||
28 | <li><a href="faq.htm">FAQ</a></li> |
||
29 | <li><a href="/helper">Helper</a></li> |
||
30 | </ul> |
||
31 | </div> |
||
32 | </div> |
||
33 | <div style="top: 11px; left: 694px; margin-left:-120px;" id="search"> |
||
34 | <span style="color: rgb(226, 137, 34); font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold;">Display OID:</span> <br> |
||
35 | <form name="form_go" method="get" action="/cgi-bin/display" enctype="multipart/form-data"> |
||
36 | <input type="hidden" name="action" value="display"> |
||
37 | <input name="oid" size="20" value="" onfocus="empty();" placeholder="-- OID --" type="text"> <input value="Go" type="submit"> |
||
38 | </form> |
||
39 | </div> |
||
40 | <div id="google_translate"> |
||
41 | <script> |
||
42 | function googleTranslateElementInit() { |
||
43 | new google.translate.TranslateElement({ pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE, gaTrack: true, gaId: 'UA-33779649-1' }, 'google_translate_element'); |
||
44 | } |
||
45 | </script> |
||
46 | <!--<script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"> |
||
47 | </script>--> |
||
48 | </div> |
||
49 | </div> |
||
50 | </div> |
||
51 | <div id="mobile_version"> |
||
52 | <aside class="sidebar"> |
||
53 | <nav id="navigation" role="navigation"> |
||
54 | <form name="form_go" method="get" action="/cgi-bin/display" enctype="multipart/form-data"> |
||
55 | <a><input name="oid" id="searchbox_mobile" size="35" value="" onfocus="empty();" placeholder="-- Display OID --" type="search"></a> |
||
56 | </form> |
||
57 | <a href="index.htm">Home</a> |
||
58 | <a href="/cgi-bin/display?tree=">Tree display</a> |
||
59 | <a href="basic-search.htm">Search</a> |
||
60 | <a href="faq.htm">FAQ</a> |
||
61 | <a href="/helper">Chatbot helper</a> |
||
62 | </nav> |
||
63 | </aside> |
||
64 | </div> |
||
65 | <div class="wrapper"> |
||
66 | <table width="100%" id="header_mobile"> |
||
67 | <tr> |
||
68 | <td width="20%"> |
||
69 | <a href="#body" class="nav-button-open" aria-label="open navigation"></a> |
||
70 | <a href="#" class="nav-button-close" aria-label="close navigation"></a> |
||
71 | </td> |
||
72 | <td width="60%" valign="middle"> |
||
6 | daniel-mar | 73 | <h1 id="header_h1">OID Repository</h1> |
74 | <div id="header_url">www.oid-info.com</div> |
||
2 | daniel-mar | 75 | </td> |
76 | <td width="20%"><a href="index.htm"><img src="images/treewall.jpg" style="height:10vh;width:auto"></a></td> |
||
77 | </tr> |
||
78 | </table> |
||
79 | |||
80 | <div id="global_content"> |
||
81 | <div id="reg_in_regexp"> |
||
82 | |||
83 | <table cellspacing="0" cellpadding="0" border="0" width="100%"> |
||
84 | <tr> |
||
85 | <td height="6%" valign="top" width="100%"> |
||
86 | <span class="page_title"> |
||
87 | Regular expressions |
||
88 | </span> |
||
89 | </td> |
||
90 | </tr> |
||
91 | </table><br><a name="introduction"></a> |
||
92 | <table cellspacing="0" cellpadding="0" border="0" width="100%"> |
||
93 | <tr> |
||
94 | <td height="8%" valign="middle" width="100%"><span class="section_title">Introduction</span></td> |
||
95 | </tr> |
||
96 | </table> |
||
97 | <table cellspacing="0" cellpadding="0" border="0" width="100%"> |
||
98 | <tr> |
||
99 | <td valign="top" width="100%"> |
||
100 | |||
101 | <p> |
||
102 | A regular expression is a character sequence that is an abbreviated |
||
13 | daniel-mar | 103 | definition of a set of strings. A string matches a regular |
2 | daniel-mar | 104 | expression if it is a member of the set described by the regular expression. |
105 | </p> |
||
106 | <p> |
||
107 | A regular expression is allowed to match anywhere within a string, |
||
13 | daniel-mar | 108 | unless the regular expression is explicitly anchored to the beginning (operator <code>^</code>) |
109 | or end (operator <code>$</code>) of the string. |
||
2 | daniel-mar | 110 | </p> |
111 | |||
112 | </td> |
||
113 | |||
114 | |||
115 | |||
116 | <td width="3%" valign="top"> </td> |
||
117 | |||
118 | |||
119 | |||
120 | <td width="20%"> </td> |
||
121 | |||
122 | |||
123 | |||
124 | </tr> |
||
125 | |||
126 | |||
127 | |||
128 | </table> |
||
129 | |||
130 | <a name="syntax"></a> |
||
131 | <table cellspacing="0" cellpadding="0" border="0" width="100%"> |
||
132 | |||
133 | |||
134 | |||
135 | <tr> |
||
136 | |||
137 | |||
138 | |||
139 | |||
140 | |||
141 | |||
142 | <td height="8%" valign="middle" width="100%"><span class="section_title">Syntax</span></td> |
||
143 | |||
144 | |||
145 | |||
146 | |||
147 | |||
148 | </tr> |
||
149 | |||
150 | |||
151 | |||
152 | </table> |
||
153 | |||
154 | |||
155 | |||
156 | <table cellspacing="0" cellpadding="0" border="0" width="100%"> |
||
157 | |||
158 | |||
159 | |||
160 | <tr> |
||
161 | |||
162 | |||
163 | |||
164 | |||
165 | |||
166 | |||
167 | <td valign="top" width="100%"> |
||
168 | <p>The following character sequences are recognized:</p> |
||
169 | <ul> |
||
170 | <li> |
||
171 | <code class="code">.</code> matches any single character except |
||
172 | newline |
||
173 | </li> |
||
174 | <li> |
||
175 | <code class="code">*</code> (postfix) matches the previous expression |
||
176 | zero, one or several times |
||
177 | </li> |
||
178 | <li> |
||
179 | <code class="code">+</code> (postfix) matches the previous expression |
||
180 | one or several times |
||
181 | <ul> |
||
182 | <li><code>[+]</code> matches a "+" character (escape mechanism)</li> |
||
183 | </ul> |
||
184 | </li> |
||
185 | <li> |
||
186 | <code class="code">?</code> (postfix) matches the previous expression |
||
187 | once or not at all |
||
188 | </li> |
||
189 | <li> |
||
190 | <code class="code">[ ]</code> is a character set |
||
191 | <ul> |
||
192 | <li> |
||
193 | ranges are denoted with a hyphen "<code class="code">-</code>", |
||
194 | as in <code class="code">[a-z]</code> |
||
195 | </li> |
||
196 | <li> |
||
197 | an initial caret "<code class="code">^</code>", as in <code class="code">[^0-9]</code>, |
||
198 | complements the set (i.e., any character, except a lowercase letter from a to z, is accepted) |
||
199 | </li> |
||
200 | <li><code>[[]</code> matches a "[" character (escape mechanism)</li> |
||
201 | <li><code>[]]</code> matches a "]" character (escape mechanism)</li> |
||
202 | </ul> |
||
203 | </li> |
||
204 | <li><code class="code">^</code> matches at beginning of line</li> |
||
205 | <li><code class="code">$</code> matches at end of line</li> |
||
206 | <li><code class="code">|</code> (infix) alternative between two expressions</li> |
||
207 | <li> |
||
208 | <code class="code">( )</code> grouping of the enclosed expression |
||
209 | <ul> |
||
210 | <li><code>[(]</code> matches a "(" character (escape mechanism)</li> |
||
211 | <li><code>[)]</code> matches a ")" character (escape mechanism)</li> |
||
212 | </ul> |
||
213 | </li> |
||
214 | <li> |
||
215 | <code class="code">\</code> escapes special characters (<em>i.e.</em>, |
||
216 | <code>^.[$|*?{'</code>): |
||
217 | <ul> |
||
218 | <li><code>\n</code> matches a newline character</li> |
||
219 | <li><code>\.</code> matches a dot "." character</li> |
||
220 | <li><code>\'</code> matches a quote "<code>'</code>" character</li> |
||
221 | <li> |
||
222 | <code class="code">\</code> cannot be escaped; to search for |
||
223 | a backslash, use <code class="code">.</code> to match any single |
||
224 | character |
||
225 | </li> |
||
226 | </ul> |
||
227 | </li> |
||
228 | </ul> |
||
229 | </td> |
||
230 | <td width="2%" valign="top"> </td> |
||
231 | <td width="20%"> </td> |
||
232 | </tr> |
||
233 | </table> |
||
234 | |||
235 | </div> |
||
236 | <div class="clear"></div> |
||
237 | </div> |
||
238 | |||
239 | |||
240 | <center id="footer"> |
||
241 | <img style="border: 0px solid ; width: 760px; height: 2px;" alt="separation line" src="images/separation800.png" width="760" height="2"><br><br> |
||
242 | <table width="710" cellspacing="0" cellpadding="0" border="0"> |
||
243 | <tr valign="baseline"> |
||
244 | <td width="34"> |
||
245 | <a href="/helper"> |
||
246 | <img src="images/enveloppe.png" width="30" height="13" name="mail" border="0" alt="OID helper"> |
||
247 | </a> |
||
248 | </td> |
||
249 | <td width="58" align="center"><font size="-2">Webmaster</font></td> |
||
250 | <td width="10" align="center"><img src="images/pointorange_small.gif" width="14" height="10"></td> |
||
251 | <td width="78" align="center"> |
||
252 | <font size="-2"> |
||
33 | daniel-mar | 253 | <script language="JavaScript"> |
2 | daniel-mar | 254 | d=new Date(document.lastModified) |
255 | month=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec") |
||
256 | if (Date.parse(document.lastModified) != 0) |
||
257 | document.write(d.getDate()+" "+month[d.getMonth()]+" "+d.getFullYear()); |
||
33 | daniel-mar | 258 | </script> |
2 | daniel-mar | 259 | </font> |
260 | </td> |
||
261 | <td width="24" align="center"><img src="images/pointorange_small.gif" width="14" height="10"></td> |
||
262 | <td align="center" width="409"> |
||
263 | <font size=-1> |
||
264 | |||
265 | </font> |
||
266 | </td> |
||
267 | <td height="20" width="162" valign="middle" align="right"><a href="#top"><img src="images/page_top.png" width="150" height="17" border="0"></a></td> |
||
268 | </tr> |
||
269 | </table><br> |
||
270 | </center> |
||
271 | </div> |
||
272 | </body> |
||
273 | </html> |