💾 Archived View for blitter.com › apl-books › APLX50 › APLX-manual › www.microapl.com › apl_help › c… captured on 2023-01-29 at 14:38:21.

View Raw

More Information

⬅️ Previous capture (2022-07-17)

-=-=-=-=-=-=-

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Introduction to Regular Expressions</TITLE>
<META NAME="DESCRIPTION" CONTENT="APL language help page: Introduction to Regular Expressions">
<META NAME="KEYWORDS" CONTENT="&#9109;SS,string,search,replace,character,regular expression,regex,PCRE,apl,aplx,apl help">
<!-- %%COMMON_HEAD%% -->
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<LINK rel="stylesheet" type="text/css" href="http://www.microapl.com/styles_apl_help.css">
<!-- %%END%%-->
</HEAD>
<body>
<table>
<tr>
<td width="800" valign="top" colspan="2">
<center>Topic: <A HREF="ch.htm">APLX Help</A> : <A HREF="ch_205.htm">Regular Expressions in APLX</A> : <A HREF="ch_205_010.htm">Introduction to Regular Expressions</A> 
</center>
<center>
[ <A HREF="pcrepattern_aplx.htm">Next</A>  | <A HREF="ch.htm">Contents</A> | <A HREF="help_index.htm">Index</A>  | <A HREF="http://www.microapl.co.uk/apl/index.html">APL Home</A> ]</center>
<br></td>
</tr>
<tr>
<td width="120">
<a href="http://www.microapl.co.uk/apl/index.html"><img height="68" border="0" width="119" src="MicroAPL_logo.gif" alt="www.microapl.co.uk"></a>
</td>
<td align="left" valign="bottom">
<h1>Introduction to Regular Expressions</h1>
</td>
</tr>
<tr>
<td width="800" valign="top" colspan="2">
<hr>
<br>
<p>APLX includes facilities for string search using <i>regular expressions</i>, which are strings that can be used to  match patterns within other strings, according to certain syntax rules.  Regular expressions can be used in the Find/Change dialog in an editor or session window, in the Search Workspace dialog, and in your APL code using the <A HREF="ch_020_070_700.htm"><code>&#9109;SS String Search/Replace</code> system function</A>.  This provides a powerful extension to the APL language, since regular expressions can be used to do sophisticated searches using a very compact notation.</p>

<p>For an introduction to Regular Expressions, please consult one of the many books or web-sites on the subject, for example <a href="http://www.regular-expressions.info">www.regular-expressions.info</a></p>

<P>The implementation of regular-expression searching in APLX is based on version 7.1 of <a href="http://www.pcre.org">Perl Compatible Regular Expressions (PCRE)</a>, an open-source product written by Philip Hazel of the University of Cambridge.  </p>

<p>The next section describes the regular-expression syntax in detail.</p>

<hr>
</td>
</tr>
<tr>
<td width="800" valign="top" colspan="2">
<center>Topic: <A HREF="ch.htm">APLX Help</A> : <A HREF="ch_205.htm">Regular Expressions in APLX</A> : <A HREF="ch_205_010.htm">Introduction to Regular Expressions</A> 
</center>
<center>
[ <A HREF="pcrepattern_aplx.htm">Next</A>  | <A HREF="ch.htm">Contents</A> | <A HREF="help_index.htm">Index</A>  | <A HREF="http://www.microapl.co.uk/apl/index.html">APL Home</A> ]</center>
<br></td>
</tr>
</table>
<!-- %%COMMON_BODY_TAIL%% -->
<p class="copyright">Copyright &copy; 1996-2010 MicroAPL Ltd</p>
<!-- %%END%% -->
</body>
</html>