From 1213746613f39e0ef41f8117cb2c3cfdfa932ddd Mon Sep 17 00:00:00 2001 From: Kallin Nagelberg Date: Fri, 13 Dec 2024 00:02:54 +0200 Subject: [PATCH] Improve doc --- docs/modules/ROOT/pages/node_pattern.adoc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/modules/ROOT/pages/node_pattern.adoc b/docs/modules/ROOT/pages/node_pattern.adoc index 3c86a8683..e02918acb 100644 --- a/docs/modules/ROOT/pages/node_pattern.adoc +++ b/docs/modules/ROOT/pages/node_pattern.adoc @@ -1,7 +1,10 @@ = Node Pattern Node pattern is a DSL to help find specific nodes in the Abstract Syntax Tree -using a simple string, in a similar fashion to how Regexp is used to find text. +using a simple string. + +It evokes the pattern-matching capabilities of regular expressions, +but is designed to target specific nodes in Ruby code. == History