<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://logicwiki.co.uk/index.php?action=history&amp;feed=atom&amp;title=Regular_Expressions</id>
		<title>Regular Expressions - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://logicwiki.co.uk/index.php?action=history&amp;feed=atom&amp;title=Regular_Expressions"/>
		<link rel="alternate" type="text/html" href="https://logicwiki.co.uk/index.php?title=Regular_Expressions&amp;action=history"/>
		<updated>2026-04-29T09:49:38Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>https://logicwiki.co.uk/index.php?title=Regular_Expressions&amp;diff=455&amp;oldid=prev</id>
		<title>Dt1nh6: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://logicwiki.co.uk/index.php?title=Regular_Expressions&amp;diff=455&amp;oldid=prev"/>
				<updated>2016-05-09T13:27:36Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 13:27, 9 May 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='en'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Dt1nh6</name></author>	</entry>

	<entry>
		<id>https://logicwiki.co.uk/index.php?title=Regular_Expressions&amp;diff=454&amp;oldid=prev</id>
		<title>Macrop at 14:12, 26 October 2015</title>
		<link rel="alternate" type="text/html" href="https://logicwiki.co.uk/index.php?title=Regular_Expressions&amp;diff=454&amp;oldid=prev"/>
				<updated>2015-10-26T14:12:58Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:RegEx]]&lt;br /&gt;
[[Category:Extreme Programming]]&lt;br /&gt;
[[Category:Standards]]&lt;br /&gt;
&lt;br /&gt;
== Some Examples == &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
^  : beginning of a line &lt;br /&gt;
&lt;br /&gt;
$  : end of a line &lt;br /&gt;
&lt;br /&gt;
|A : start of a string &lt;br /&gt;
&lt;br /&gt;
|Z : end of a string &lt;br /&gt;
&lt;br /&gt;
.  : any character&lt;br /&gt;
&lt;br /&gt;
\w : any letter, digit or underscore&lt;br /&gt;
&lt;br /&gt;
\W : anything that doesn't match \w &lt;br /&gt;
&lt;br /&gt;
\d : any digit&lt;br /&gt;
&lt;br /&gt;
\D : anything not digit&lt;br /&gt;
&lt;br /&gt;
\s : whitespace (space, tab, newline, ...)&lt;br /&gt;
&lt;br /&gt;
\S : non whitespace &lt;br /&gt;
&lt;br /&gt;
*  : match zero or more occurances of preceding character and match as many as possible&lt;br /&gt;
&lt;br /&gt;
? : 0 or 1 repetions&lt;br /&gt;
&lt;br /&gt;
* : 0 or more repetions&lt;br /&gt;
&lt;br /&gt;
{n} : \d{1,5}  one to 5 chars of decimal&lt;br /&gt;
&lt;br /&gt;
[ ] :Calend[ae]r [a-z] -&amp;gt; a to z [0-9] -&amp;gt; 0 to 9 [A-Fa-t0-4] -&amp;gt; A to F or a to t or 0 to 4]&lt;br /&gt;
&lt;br /&gt;
'(Jennifer|Jen|Jenny)\b\w+\b' -&amp;gt; any Jennifer with a surname &lt;br /&gt;
&lt;br /&gt;
'Je(nnifer|nny\n){1,6}\b\w+\b'&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Regex in Ruby == &lt;br /&gt;
/[aeiou]/ : list of characters&lt;br /&gt;
&lt;br /&gt;
/[A-Z]/ : capital letters&lt;br /&gt;
=== String#match ===&lt;br /&gt;
The String#match method converts a pattern to a Regexp (if it isn‘t already one), and then invokes its match method on the target String object. Here is how you find the characters from a String which are next to a whitespace:&lt;br /&gt;
 'RubyMonk Is Pretty Brilliant'.match(/ ./)&lt;/div&gt;</summary>
		<author><name>Macrop</name></author>	</entry>

	</feed>