<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.soldat.pl/index.php?action=history&amp;feed=atom&amp;title=RegExpMatch</id>
		<title>RegExpMatch - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.soldat.pl/index.php?action=history&amp;feed=atom&amp;title=RegExpMatch"/>
		<link rel="alternate" type="text/html" href="https://wiki.soldat.pl/index.php?title=RegExpMatch&amp;action=history"/>
		<updated>2026-05-26T00:17:16Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.soldat.pl/index.php?title=RegExpMatch&amp;diff=139&amp;oldid=prev</id>
		<title>Freeman: Created page with &quot;===From the Scripting Manual===  ''function RegExpMatch(Pattern, Source: string): boolean;''    '''Parameter Info:'''   Pattern (String): A POSIX extended regular expression. ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.soldat.pl/index.php?title=RegExpMatch&amp;diff=139&amp;oldid=prev"/>
				<updated>2012-08-15T09:54:45Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;===From the Scripting Manual===  &amp;#039;&amp;#039;function RegExpMatch(Pattern, Source: string): boolean;&amp;#039;&amp;#039;    &amp;#039;&amp;#039;&amp;#039;Parameter Info:&amp;#039;&amp;#039;&amp;#039;   Pattern (String): A POSIX extended regular expression. ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===From the Scripting Manual===&lt;br /&gt;
 ''function RegExpMatch(Pattern, Source: string): boolean;''&lt;br /&gt;
 &lt;br /&gt;
 '''Parameter Info:'''&lt;br /&gt;
  Pattern (String): A POSIX extended regular expression.&lt;br /&gt;
  Source (String): Source string to be searched&lt;br /&gt;
 &lt;br /&gt;
 '''Description:'''&lt;br /&gt;
  Searches source for a match to the regular expression given in pattern.&lt;br /&gt;
  To be honest, I have no clue how regexp strings work... &lt;br /&gt;
  A friend requested regexp support so here it is. &lt;br /&gt;
  Google is your friend if you need help with this.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;pascal&amp;quot;&amp;gt;var&lt;br /&gt;
  Text: string;&lt;br /&gt;
begin&lt;br /&gt;
  Text := 'regexptest test';&lt;br /&gt;
  if (RegExpMatch('^(reg(ular)?exp(pressions?)?test|hmph) .+$', Text)) then WriteLn('IT WORKED!'); //true&lt;br /&gt;
  Text := 'RegExpTest test';&lt;br /&gt;
  if (RegExpMatch('^(reg(ular)?exp(pressions?)?test|hmph) .+$', Text)) then WriteLn('IT WORKED!'); //false&lt;br /&gt;
  Text := 'regexptest ';&lt;br /&gt;
  if (RegExpMatch('^(reg(ular)?exp(pressions?)?test|hmph) .+$', Text)) then WriteLn('IT WORKED!'); //false&lt;br /&gt;
  Text := 'regularexppressiontest test';&lt;br /&gt;
  if (RegExpMatch('^(reg(ular)?exp(pressions?)?test|hmph) .+$', Text)) then WriteLn('IT WORKED!'); //true&lt;br /&gt;
  Text := 'hmph test';&lt;br /&gt;
  if (RegExpMatch('^(reg(ular)?exp(pressions?)?test|hmph) .+$', Text)) then WriteLn('IT WORKED!'); //true&lt;br /&gt;
  Text := 'regexp test';&lt;br /&gt;
  if (RegExpMatch('^(reg(ular)?exp(pressions?)?test|hmph) .+$', Text)) then WriteLn('IT WORKED!'); //false&lt;br /&gt;
end;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==External Links==&lt;br /&gt;
* [http://enesce.com/help/index.html?Functions/RegExpMatch.html Scripting Manual page for RegExpMatch]&lt;br /&gt;
&lt;br /&gt;
[[Category:Server Scripting]][[Category:Server Scripting Functions]]&lt;/div&gt;</summary>
		<author><name>Freeman</name></author>	</entry>

	</feed>