From a1c8bb74775e2cd70030c9a4ed1ebb17411490e4 Mon Sep 17 00:00:00 2001 From: Suhothayan Date: Wed, 3 Jul 2019 23:05:59 +0530 Subject: [PATCH 1/4] Fix API documentation --- .../siddhi/extension/execution/regex/FindFunctionExtension.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/component/src/main/java/io/siddhi/extension/execution/regex/FindFunctionExtension.java b/component/src/main/java/io/siddhi/extension/execution/regex/FindFunctionExtension.java index 5a53238..d196eef 100644 --- a/component/src/main/java/io/siddhi/extension/execution/regex/FindFunctionExtension.java +++ b/component/src/main/java/io/siddhi/extension/execution/regex/FindFunctionExtension.java @@ -94,7 +94,7 @@ examples = { @Example( syntax = "regex:find('\\d\\d(.*)WSO2', " + - "'21 products are produced by WSO2 currently') as aboutWSO2)", + "'21 products are produced by WSO2 currently')", description = "This method attempts to find the subsequence of the input.sequence " + "that matches the regex pattern, `\\d\\d(.*)WSO2`. It returns `true` " + "as a subsequence exists." From 852966f521a1d25a324c6307ef21fd01fc3e8107 Mon Sep 17 00:00:00 2001 From: Suhothayan Date: Wed, 3 Jul 2019 23:07:04 +0530 Subject: [PATCH 2/4] Fix API documentation --- docs/api/5.0.3.md | 2 +- docs/api/latest.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/5.0.3.md b/docs/api/5.0.3.md index cccbbe4..fffbb58 100644 --- a/docs/api/5.0.3.md +++ b/docs/api/5.0.3.md @@ -52,7 +52,7 @@ Examples EXAMPLE 1 ``` -regex:find('\d\d(.*)WSO2', '21 products are produced by WSO2 currently') as aboutWSO2) +regex:find('\d\d(.*)WSO2', '21 products are produced by WSO2 currently') ```

This method attempts to find the subsequence of the input.sequence that matches the regex pattern, \d\d(.*)WSO2. It returns true as a subsequence exists.

diff --git a/docs/api/latest.md b/docs/api/latest.md index cccbbe4..fffbb58 100644 --- a/docs/api/latest.md +++ b/docs/api/latest.md @@ -52,7 +52,7 @@ Examples EXAMPLE 1 ``` -regex:find('\d\d(.*)WSO2', '21 products are produced by WSO2 currently') as aboutWSO2) +regex:find('\d\d(.*)WSO2', '21 products are produced by WSO2 currently') ```

This method attempts to find the subsequence of the input.sequence that matches the regex pattern, \d\d(.*)WSO2. It returns true as a subsequence exists.

From 3c9c28df2cbde62dc725916a01be3a8a5ef2edc7 Mon Sep 17 00:00:00 2001 From: Suhothayan Date: Thu, 4 Jul 2019 13:41:43 +0530 Subject: [PATCH 3/4] Fix site content --- README.md | 2 +- docs/index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a468382..fc9fd22 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Siddhi Execution Regex [![GitHub Last Commit](https://img.shields.io/github/last-commit/siddhi-io/siddhi-execution-regex.svg)](https://github.com/siddhi-io/siddhi-execution-regex/commits/master) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) -The **siddhi-execution-regex extension** is a Siddhi extension that provides basic regex handling capabilities such as concat, length, replace all, etc. +The **siddhi-execution-regex extension** is a Siddhi extension that provides Provides basic RegEx execution capabilities such as find, match, etc. For information on Siddhi and it's features refer Siddhi Documentation. diff --git a/docs/index.md b/docs/index.md index a468382..fc9fd22 100644 --- a/docs/index.md +++ b/docs/index.md @@ -8,7 +8,7 @@ Siddhi Execution Regex [![GitHub Last Commit](https://img.shields.io/github/last-commit/siddhi-io/siddhi-execution-regex.svg)](https://github.com/siddhi-io/siddhi-execution-regex/commits/master) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) -The **siddhi-execution-regex extension** is a Siddhi extension that provides basic regex handling capabilities such as concat, length, replace all, etc. +The **siddhi-execution-regex extension** is a Siddhi extension that provides Provides basic RegEx execution capabilities such as find, match, etc. For information on Siddhi and it's features refer Siddhi Documentation. From 3b75613e2d048aa35ce31ccc1cf4d6afd0500303 Mon Sep 17 00:00:00 2001 From: Suhothayan Date: Thu, 4 Jul 2019 13:50:23 +0530 Subject: [PATCH 4/4] Fix site content --- README.md | 2 +- docs/index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fc9fd22..1d3f625 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Siddhi Execution Regex [![GitHub Last Commit](https://img.shields.io/github/last-commit/siddhi-io/siddhi-execution-regex.svg)](https://github.com/siddhi-io/siddhi-execution-regex/commits/master) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) -The **siddhi-execution-regex extension** is a Siddhi extension that provides Provides basic RegEx execution capabilities such as find, match, etc. +The **siddhi-execution-regex extension** is a Siddhi extension that provides basic RegEx execution capabilities such as find, match, etc. For information on Siddhi and it's features refer Siddhi Documentation. diff --git a/docs/index.md b/docs/index.md index fc9fd22..1d3f625 100644 --- a/docs/index.md +++ b/docs/index.md @@ -8,7 +8,7 @@ Siddhi Execution Regex [![GitHub Last Commit](https://img.shields.io/github/last-commit/siddhi-io/siddhi-execution-regex.svg)](https://github.com/siddhi-io/siddhi-execution-regex/commits/master) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) -The **siddhi-execution-regex extension** is a Siddhi extension that provides Provides basic RegEx execution capabilities such as find, match, etc. +The **siddhi-execution-regex extension** is a Siddhi extension that provides basic RegEx execution capabilities such as find, match, etc. For information on Siddhi and it's features refer Siddhi Documentation.