Move and add new RegEx test cases
Test cases for 'RegEx' are moved from 'test_string.h' to own test suite in 'test_regex.h'. Additionally, new tests are introduced and '_init' is removed as it isn't implemented/used anywhere.
This commit is contained in:
@ -83,7 +83,6 @@ protected:
|
||||
public:
|
||||
void clear();
|
||||
Error compile(const String &p_pattern);
|
||||
void _init(const String &p_pattern = "");
|
||||
|
||||
Ref<RegExMatch> search(const String &p_subject, int p_offset = 0, int p_end = -1) const;
|
||||
Array search_all(const String &p_subject, int p_offset = 0, int p_end = -1) const;
|
||||
|
||||
Reference in New Issue
Block a user