Subversion Repositories oidinfo_new_design

Compare Revisions

Regard whitespace Rev 1 → Rev 2

/trunk/regexp.htm
0,0 → 1,278
<!DOCTYPE html>
<html lang="en">
<head>
<title>OID repository - Search - Regexp</title>
<meta charset="UTF-8"><!-- <meta content="text/html; charset=iso-8859-1" http-equiv="content-type"> -->
<meta name="google-translate-customization" content="ae799a386ca63905-075d0f84d2caa8b0-g8dbf29cdfe9cdbeb-c">
<link rel="Stylesheet" type="text/css" href="style.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="DESCRIPTION" content="This OID repository gathers information about Object Identifiers (OIDs), and provides tools to display and search for this information.">
<meta name="keywords" content="object identifier oid OID repository registration authority ISO ITU">
<link rel="SHORTCUT ICON" href="/images/favicon.ico">
<script src="scripts.js"></script>
</head>
<body id="body" onload="_onload()">
<div id="global_container">
<div id="header">
<a href="index.htm">
<img src="images/treewall.jpg" width="130" height="110">
</a>
<h1 style="color: rgb(226, 137, 34);font-size: 35px; font-weight:bold;">OID Repository</h1><br><br><br><br>
<div id="header_url_and_menu">
<div id="header_url">
<span style="color: rgb(226, 137, 34);font-size: 15px; font-weight:bold; margin-left:10px; display:inline-block;">www.oid-info.com</span>
</div>
<div id="header_url_right">
<ul id="header_menu">
<li><a href="index.htm">Home</a></li>
<li><a href="/cgi-bin/display?tree=">Tree display</a></li>
<li><a href="basic-search.htm">Search</a></li>
<li><a href="faq.htm">FAQ</a></li>
<li><a href="/helper">Helper</a></li>
</ul>
</div>
</div>
<div style="top: 11px; left: 694px; margin-left:-120px;" id="search">
<span style="color: rgb(226, 137, 34); font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold;">Display OID:</span> <br>
<form name="form_go" method="get" action="/cgi-bin/display" enctype="multipart/form-data">
<input type="hidden" name="action" value="display">
<input name="oid" size="20" value="" onfocus="empty();" placeholder="-- OID --" type="text"> <input value="Go" type="submit">
</form>
</div>
<div id="google_translate">
<script>
function googleTranslateElementInit() {
new google.translate.TranslateElement({ pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE, gaTrack: true, gaId: 'UA-33779649-1' }, 'google_translate_element');
}
</script>
<!--<script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit">
</script>-->
</div>
</div>
</div>
<div id="mobile_version">
<aside class="sidebar">
<nav id="navigation" role="navigation">
<form name="form_go" method="get" action="/cgi-bin/display" enctype="multipart/form-data">
<a><input name="oid" id="searchbox_mobile" size="35" value="" onfocus="empty();" placeholder="-- Display OID --" type="search"></a>
</form>
<a href="index.htm">Home</a>
<a href="/cgi-bin/display?tree=">Tree display</a>
<a href="basic-search.htm">Search</a>
<a href="faq.htm">FAQ</a>
<a href="/helper">Chatbot helper</a>
</nav>
</aside>
</div>
<div class="wrapper">
<table width="100%" id="header_mobile">
<tr>
<td width="20%">
<a href="#body" class="nav-button-open" aria-label="open navigation"></a>
<a href="#" class="nav-button-close" aria-label="close navigation"></a>
</td>
<td width="60%" valign="middle">
<h1 style="color: rgb(226, 137, 34);font-size: 18px; font-weight:bold; text-align:right;">OID Repository</h1>
<div id="header_url">
<span style="color: rgb(226, 137, 34);font-size: 15px; font-weight:bold; margin-left:10px; display:inline-block;">www.oid-info.com</span>
</div>
</td>
<td width="20%"><a href="index.htm"><img src="images/treewall.jpg" style="height:10vh;width:auto"></a></td>
</tr>
</table>
 
<div id="global_content">
<div id="reg_in_regexp">
 
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td height="6%" valign="top" width="100%">
<span class="page_title">
Regular expressions
</span>
</td>
</tr>
</table><br><a name="introduction"></a>
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td height="8%" valign="middle" width="100%"><span class="section_title">Introduction</span></td>
</tr>
</table>
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td valign="top" width="100%">
 
<p>
A regular expression is a character sequence that is an abbreviated
definition of a set of strings. A string is said to match a regular
expression if it is a member of the set described by the regular expression.
</p>
<p>
A regular expression is allowed to match anywhere within a string,
unless the regular expression is explicitly anchored to the beginning
or end of the string (by using operators <code>^</code> and/or&nbsp;<code>$</code>).
</p>
 
</td>
 
 
 
<td width="3%" valign="top">&nbsp;</td>
 
 
 
<td width="20%"> </td>
 
 
 
</tr>
 
 
 
</table>
 
<a name="syntax"></a>
<table cellspacing="0" cellpadding="0" border="0" width="100%">
 
 
 
<tr>
 
 
 
 
 
 
<td height="8%" valign="middle" width="100%"><span class="section_title">Syntax</span></td>
 
 
 
 
 
</tr>
 
 
 
</table>
 
 
 
<table cellspacing="0" cellpadding="0" border="0" width="100%">
 
 
 
<tr>
 
 
 
 
 
 
<td valign="top" width="100%">
<p>The following character sequences are recognized:</p>
<ul>
<li>
<code class="code">.</code> matches any single character except
newline
</li>
<li>
<code class="code">*</code> (postfix) matches the previous expression
zero, one or several times
</li>
<li>
<code class="code">+</code> (postfix) matches the previous expression
one or several times
<ul>
<li><code>[+]</code> matches a &quot;+&quot; character (escape mechanism)</li>
</ul>
</li>
<li>
<code class="code">?</code> (postfix) matches the previous expression
once or not at all
</li>
<li>
<code class="code">[ &nbsp;]</code> is a character set
<ul>
<li>
ranges are denoted with a hyphen "<code class="code">-</code>",
as in <code class="code">[a-z]</code>
</li>
<li>
an initial caret "<code class="code">^</code>", as in <code class="code">[^0-9]</code>,
complements the set (i.e., any character, except a lowercase letter from a to z, is accepted)
</li>
<li><code>[[]</code> matches a &quot;[&quot; character (escape mechanism)</li>
<li><code>[]]</code> matches a &quot;]&quot; character (escape mechanism)</li>
</ul>
</li>
<li><code class="code">^</code> matches at beginning of line</li>
<li><code class="code">$</code> matches at end of line</li>
<li><code class="code">|</code> (infix) alternative between two expressions</li>
<li>
<code class="code">( &nbsp;)</code> grouping of the enclosed expression
<ul>
<li><code>[(]</code> matches a &quot;(&quot; character (escape mechanism)</li>
<li><code>[)]</code> matches a &quot;)&quot; character (escape mechanism)</li>
</ul>
</li>
<li>
<code class="code">\</code> escapes special characters (<em>i.e.</em>,
<code>^.[$|*?{'</code>):
<ul>
<li><code>\n</code> matches a newline character</li>
<li><code>\.</code> matches a dot &quot;.&quot; character</li>
<li><code>\'</code> matches a quote &quot;<code>'</code>&quot; character</li>
<li>
<code class="code">\</code> cannot be escaped; to search for
a backslash, use <code class="code">.</code> to match any single
character
</li>
</ul>
</li>
</ul>
</td>
<td width="2%" valign="top">&nbsp;</td>
<td width="20%">&nbsp; </td>
</tr>
</table>
 
</div>
<div class="clear"></div>
</div>
 
 
<center id="footer">
<img style="border: 0px solid ; width: 760px; height: 2px;" alt="separation line" src="images/separation800.png" width="760" height="2"><br><br>
<table width="710" cellspacing="0" cellpadding="0" border="0">
<tr valign="baseline">
<td width="34">
<a href="/helper">
<img src="images/enveloppe.png" width="30" height="13" name="mail" border="0" alt="OID helper">
</a>
</td>
<td width="58" align="center"><font size="-2">Webmaster</font></td>
<td width="10" align="center"><img src="images/pointorange_small.gif" width="14" height="10"></td>
<td width="78" align="center">
<font size="-2">
<!--<script language="JavaScript">
d=new Date(document.lastModified)
month=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")
if (Date.parse(document.lastModified) != 0)
document.write(d.getDate()+" "+month[d.getMonth()]+" "+d.getFullYear());
</script>-->
15 Apr 2022
</font>
</td>
<td width="24" align="center"><img src="images/pointorange_small.gif" width="14" height="10"></td>
<td align="center" width="409">
<font size=-1>
</font>
</td>
<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>
</tr>
</table><br>
</center>
</div>
</body>
</html>