Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
149 lines (140 sloc) 5.28 KB
<!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" lang="en" xml:lang="en">
<head>
<link href="styles.css" rel="stylesheet" type="text/css" />
<title>Regular Expressions</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="CGRU: CG Tools, CG Rules, Afanasy - Free Open Source Render Farm Manager" />
<meta name="keywords" content="Houdini, Maya, Nuke, RenderMan, Mantra, Mentalray, Max, XSI, SoftImage, prman, Afanasy, animation, rendering, render, farm, manager, free, open source, 3D, 2D" />
</head>
<body>
<table width="99%" align="center">
<tr align="center">
<td width="33%">
<a href="http://sourceforge.net/projects/cgru"><img src="../doc/images/sflogo.png" width="88" height="31" border="0" alt="SourceForge.net Logo" /></a>
</td>
<td width="33%">
<p><a href="../index.html" target="_top"><img src="../doc/images/cgru16.png" border="0" alt="CGRU" /></a></p>
</td>
<td width="33%">
<a href="http://www.linkedin.com/groups/CGRU-AFANASY-4263049"><img src="../doc/images/linkedin.png" border="0" alt="LinkedIn" /></a>
</td>
</tr>
</table>
<table width="100%" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="200px">
<div style="width:100%;height:40px;background:url('../doc/images/header_left.png')" />
</td>
<td>
<div style="width:100%;height:40px;background:url('../doc/images/header.png') repeat-x" />
</td>
<td width="200px">
<div style="width:100%;height:40px;background:url('../doc/images/header_right.png')" />
</td>
</tr>
</table>
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0"><tr><td>
<!--HEADER-->
<h2 align="center">Regular Expressions</h2>
<hr />
<p>
This is a standard Regular Expressions (RegExp, RE).
They are realized in almost all languages like C, Perl, Python, PHP, Ruby and others.
Some times some such expressions called "Perl-like" as they were popularized within Perl at first.
</p>
<p>
AFANASY uses this expressions in hosts mask, depend masks, farm setup and other patterns.
</p>
<p>A simple dialog to <a href="../utilities/regexp/doc/index.html">check regular expressions</a> provided with CGRU.</p>
<table width="100%" border="1">
<caption><b>Examples</b></caption>
<tr align="center">
<td><i>Expression</i></td>
<td><i>Some Matched Names</i></td>
<td><i>Description</i></td>
<tr>
</tr>
<td>r1|r7|r12</td>
<td>r1 r7 r12</td>
<td>Only specified machines, "|" - means "or".</td>
</tr>
<tr>
<td>r1.</td>
<td>r11-r19 r1a-r1z</td>
<td>Names starts with "r" plus one any character, "." - means any (one) character.</td>
<tr>
<tr>
<td>r.*</td>
<td>r0 r1 rN rnd roman ...</td>
<td>All computers which name starts with "r", "*" - means any number or characters.</td>
<tr>
</tr>
<td>r1.*</td>
<td>r1 r10 r11 r102 r1asd ...</td>
<td>All computers which name starts with "r1"</td>
</tr>
</tr>
<td>r1[178]</td>
<td>r11 r17 r18</td>
<td>Only specified machines, [1 or 7 or 8]</td>
</tr>
</tr>
<td>r1[1-5]</td>
<td>r11 r12 r13 r14 r15</td>
<td>Only specified machines, [from 1 to 5]</td>
</tr>
</tr>
<td>r0.|r1[1-5]</td>
<td>r00-r09 r11-r15</td>
<td>All r0# and from r11 to r15</td>
</tr>
</table>
<h4>Detailed documentation, examples, constructors and testers:</h4>
<ul>
<li><a href="http://en.wikipedia.org/wiki/Regular_expression">http://en.wikipedia.org/wiki/Regular_expression</a></li>
<li><a href="http://www.google.com/search?q=Regular+Expressions">http://www.google.com/search?q=Regular+Expressions</a></li>
<li><a href="http://www.google.com/search?q=Regular+Expressions+Examples">http://www.google.com/search?q=Regular+Expressions+Examples</a></li>
<li><a href="http://www.google.com/search?q=Regular+Expressions+Tester">http://www.google.com/search?q=Regular+Expressions+Tester</a></li>
</ul>
<b><i>Russian:</i></b>
<ul>
<li><a href="http://ru.wikipedia.org/wiki/Regular_expression">http://ru.wikipedia.org/wiki/Regular_expression</a></li>
<li><a href="http://www.google.ru/search?&q=Regular+Expressions&hl=ru">http://www.google.ru/search?&q=Regular+Expressions&hl=ru</a></li>
</ul>
<!--FOOTER-->
</td></tr></table>
<table width="100%" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="200px">
<div style="width:100%;height:40px;background:url('../doc/images/footer_left.png')" />
</td>
<td>
<div style="width:100%;height:40px;background:url('../doc/images/footer.png') repeat-x" />
</td>
<td width="200px">
<div style="width:100%;height:40px;background:url('../doc/images/footer_center.png')" />
</td>
<td>
<div style="width:100%;height:40px;background:url('../doc/images/footer.png') repeat-x" />
</td>
<td width="200px">
<div style="width:100%;height:40px;background:url('../doc/images/footer_right.png')" />
</td>
</tr>
</table>
<table width="99%" align="center">
<tr align="center">
<td width="33%">
<a href="https://github.com/CGRU/cgru"><img src="../doc/images/github.png" border="0" alt="SourceForge.net Project" /></a>
</td>
<td width="33%">
<p><a href="../index.html" target="_top"><img src="../doc/images/cgru16.png" border="0" alt="CGRU" /></a></p>
</td>
<td width="33%">
<a href="http://libregraphicsworld.org/tag/cgru"><img src="../doc/images/lgw.png" border="0" alt="Libre Graphics World" /></a>
</td>
</tr>
</table>
</body>
</html>
Something went wrong with that request. Please try again.