diff options
author | Nisarg Jhaveri <nisarg.jhaveri@students.iiit.ac.in> | 2014-08-15 16:56:31 +0400 |
---|---|---|
committer | Nisarg Jhaveri <nisarg.jhaveri@students.iiit.ac.in> | 2014-08-15 16:56:31 +0400 |
commit | 169e15be81c454e7485817ba3b1b242fc1ff361a (patch) | |
tree | 3b87883de5d8e0408142cf1eb383345ad0c9a87f /tbl_find_replace.php | |
parent | da294542f3ad8ee3313eccdc1546b6bc2147e0b3 (diff) |
feature 857: Regex search and replace
- Implemented basic regex search and replace for tables.
- Added a checkbox to use regex in 'Find and Replace' view.
- Fixed some tests for this feature
Signed-off-by: Nisarg Jhaveri <nisarg.jhaveri@students.iiit.ac.in>
Diffstat (limited to 'tbl_find_replace.php')
-rw-r--r-- | tbl_find_replace.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tbl_find_replace.php b/tbl_find_replace.php index 92f3e079fd..2611b89840 100644 --- a/tbl_find_replace.php +++ b/tbl_find_replace.php @@ -25,6 +25,7 @@ if (isset($_POST['find'])) { $_POST['columnIndex'], $_POST['find'], $_POST['replaceWith'], + $_POST['useRegex'], $connectionCharSet ); $response->addJSON('preview', $preview); @@ -43,6 +44,7 @@ if (isset($_POST['replace'])) { $_POST['columnIndex'], $_POST['findString'], $_POST['replaceWith'], + $_POST['useRegex'], $connectionCharSet ); $htmlOutput .= PMA_Util::getMessage( |