Commit c9666d54 authored by Jamie A. Jennings's avatar Jamie A. Jennings

Added fig5 (REPL) and wrote that section of

parent 00ead9f1
Pipeline #51274423 passed with stage
in 1 minute and 12 seconds
......@@ -13,7 +13,9 @@
## What is Rosie/RPL?
RPL is a variant of modern Regular Expressions (regex) that is designed
RPL is a variant of modern Regular Expressions (regex) that is used, for
example, to validate input and to extract key data from unstructured (and
semi-structured) text. Rosie is an implementation of RPL that is designed
to scale to big data, many developers, and large collections of patterns.
The Rosie project provides a CLI (like Unix `grep`) and a library, `librosie`,
......@@ -22,13 +24,15 @@ languages.
In the screen capture below, the `net.url` pattern (from the `net` library) is
used to extract all of the URLs mentioned on the google home page.
Suppose we wanted to see all the sub-domains within ** that are
Suppose we wanted to see all the sub-domains of ** that are
referenced on google's home page. The `net.fqdn` pattern matches domain names,
and the _look behind_ operator `<` can be used to look backwards to see if the
matched domain ended in ``. (In RPL, to match a literal string, you
place it in double quotes, like string literals in other programs.)
## See more [examples](extra/examples/
......@@ -64,7 +64,7 @@ Red: network; Red underlined: ipv6 specifically; Blue: date/time; Cyan:
identifier; Yellow: word
<td><img src=images/p1.gif" width="600"></td>
<td><img src="images/p1.gif" width="600"></td>
......@@ -72,8 +72,13 @@ identifier; Yellow: word
### In the Rosie REPL
The Rosie command line program includes a REPL (Read-Eval-Print-Loop) that can
be useful for interactive pattern development and testing. You can inspect
patterns, define patterns, and test them.
See the [REPL documentation](../../doc/ for more.
### From within programs
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment