<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
   <head><meta content="text/html; charset=UTF-8" http-equiv="content-type" />
      
      <title>About Regular Expressions</title>
      <meta content="PortalProtect 2.6 Online Help" name="description" />
      <meta content="IE=8" http-equiv="X-UA-Compatible" />
      <link href="resources/webhelp.css" rel="stylesheet" type="text/css" />
   <link href="_wh/user/resources/jquery-ui.css" rel="stylesheet" type="text/css" /><link href="_wh/wh.css" rel="stylesheet" type="text/css" /><script src="_wh/user/resources/jquery.min.js" type="text/javascript"></script><script src="_wh/user/resources/jquery-ui.min.js" type="text/javascript"></script><script type="text/javascript">
            var whMessageTranslations =  [
                'Contents',
                'Index',
                'Search',
                'Collapse All',
                'Expand All',
                'Previous Page',
                'Next Page',
                'Toggle search result highlighting',
                'No results found for %W%.',
                '1 result found for %W%.',
                '%N% results found for %W%.'
            ];
          </script><script charset="UTF-8" src="_wh/wh.min.js" type="text/javascript"></script><script charset="UTF-8" src="_wh/search.js" type="text/javascript"></script><link href="_wh/user/tm.css" rel="stylesheet" type="text/css" /></head>
   
<body>
      <div id="wh-header">
    <table cellpadding="0" cellspacing="0" id="page-header" width="100%">
      <tr valign="top">
        <td align="left" width="115">
          <a href="http://www.trendmicro.com">
            <img alt="Trend Micro homepage" border="0" height="40" id="tm-logo" src="_wh/user/resources/trendball.png" width="104" />
          </a>
        </td>
	<td align="left" valign="middle">
          <h1 id="title">
	     <script type="text/javascript">
               $('#title').html($('meta[name=description]').attr('content'));
             </script>
	  </h1>
	</td>
      </tr>
    </table></div>
      <div id="wh-body">
         <div id="wh-navigation">
            <ul id="wh-tabs">
               <li id="wh-toc-tab"><a href="#wh-toc-pane"><span>Contents</span></a></li>
               <li id="wh-index-tab"><a href="#wh-index-pane"><span>Index</span></a></li>
               <li id="wh-search-tab"><a href="#wh-search-pane"><span>Search</span></a></li>
            </ul>
            <div id="wh-toc-pane">
               <div id="wh-toc-form"><span id="wh-toc-control"><a href="#">Collapse All</a><a href="#">Expand All</a></span><button id="wh-toc-previous">Previous</button><button id="wh-toc-next">Next</button></div><script charset="UTF-8" src="_wh/toc.js" type="text/javascript"></script></div>
            <div id="wh-index-pane">
               <div id="wh-index-form"><input id="wh-index-field" type="text" /></div><script charset="UTF-8" src="_wh/index.js" type="text/javascript"></script></div>
            <div id="wh-search-pane">
               <div id="wh-search-form"><input id="wh-search-field" type="text" /><button id="wh-search-button">Search</button><span id="wh-highlight-group"><input checked="checked" id="wh-highlight-toggle" type="checkbox" /><label for="wh-highlight-toggle">Toggle Highlight</label></span></div>
               <div id="wh-search-results"></div>
            </div>
            <div id="wh-external-search-pane"></div>
         </div>
         <div id="wh-separator"></div>
         <div id="wh-content">
      <div class="concept" id="GUID-96033F68-736E-44D8-8771-46A074FA9278" lang="en" xml:lang="en">
         <h2 class="chapter-title" id="GUID-96033F68-736E-44D8-8771-46A074FA9278__GUID-1B4C75D4-D403-4C7D-A980-25FB78E01ED7">About Regular Expressions <span class="topic-navigation-bar"><img alt="Parent topic" class="navigation-icon-disabled" height="16" src="resources/parent_disabled.png" title="Parent topic" width="16" /></span></h2>
         <div class="conbody">
            <div class="p">Regular expressions are used to perform string matching.</div>
            <div class="note" id="GUID-96033F68-736E-44D8-8771-46A074FA9278__GUID-4E1F521C-AB7D-4882-A3F4-503210CBDF26">
               <table border="0" cellspacing="0" class="note-layout">
                  <tr>
                     <td class="note-icon"><img alt="Note" height="32" src="resources/note.png" width="32" /></td>
                     <td class="note-text">
                        <h5 class="note-head">Note</h5>
                        <div class="note-body">
                           
                           <div class="p">Regular expressions are a powerful string matching tool. For this reason, it is
                              recommended that an administrator who chooses to use regular expressions should be
                              familiar
                              and comfortable with regular expression syntax. Poorly written regular expressions
                              can have
                              a negative performance impact. <span class="ph" lang="en-us" xml:lang="en-us">Trend Micro</span>’s
                              recommendation is to start with simple regular expressions that do not use complex
                              syntax.
                              When introducing new rules, use the backup action and observe how <span class="ph" lang="en-us" xml:lang="en-us">PortalProtect</span> applies your rule. When
                              you are confident that the rule has no unexpected consequences, you can change the
                              action.
                           </div>
                           
                        </div>
                     </td>
                  </tr>
               </table>
            </div>
            <div class="p">See the following tables for some common examples of regular expressions:</div>
            <ul class="ul" id="GUID-96033F68-736E-44D8-8771-46A074FA9278__GUID-F8A08644-9600-48D7-88BF-0F457BFBB8AA">
               <li class="li">
                  
                  <div class="p"><a class="xref" href="Counting-and-Groupin.html#GUID-221D898E-7328-4D8F-AACE-FE955134C020">Counting and Grouping</a></div>
                  
               </li>
               <li class="li">
                  
                  <div class="p"><a class="xref" href="Character-Classes-(s.html#GUID-61507721-7A7E-47C1-B1F1-7D11D9D612AD">Character Classes (Shorthand)</a></div>
                  
               </li>
               <li class="li">
                  
                  <div class="p"><a class="xref" href="Character-Classes.html#GUID-EB85D13C-1951-4C65-B972-6D7B7CFDB5C2">Character Classes</a></div>
                  
               </li>
               <li class="li">
                  
                  <div class="p"><a class="xref" href="Pattern-Anchor-Regul.html#GUID-B01C3C2F-EB2A-4518-93EE-0E8CD9861724">Pattern Anchor Regular Expressions</a></div>
                  
               </li>
               <li class="li">
                  
                  <div class="p"><a class="xref" href="Escape-Sequences-Reg.html#GUID-85CD646A-C126-4CC8-9A06-4588ED4FD766">Escape Sequences Regular Expressions</a></div>
                  
               </li>
            </ul>
         </div>
      </div>
   </div>
      </div>
      
      <div id="wh-tm-footer">
         <div id="page-tm-footer">© 2019 Trend Micro Incorporated. All rights reserved.<br /><a href="http://esupport.trendmicro.com/"><span>Search Knowledge Base</span></a></div>
      </div>
   </body></html>