summaryrefslogtreecommitdiffstats
path: root/modules/regex
Commit message (Collapse)AuthorAgeFilesLines
...
* Added RegEx.search_all() for multiple matchesZher Huei Lee2017-11-142-0/+17
| | | | And updated the docs
* Add UWP to Regex JIT blacklistGeorge Marques2017-10-231-1/+1
| | | | | PCRE2 JIT uses functions not available in UWP, which makes it fail to link.
* Use BoolVariable for third-party options.Elliott Sales de Andrade2017-09-251-1/+1
|
* Renamed function arguments to keep them consistent between declaration and ↵Wilson E. Alvarez2017-09-141-2/+2
| | | | implementation
* Merge pull request #10846 from hpvb/fix-sign-compareRémi Verschelde2017-09-011-3/+3
|\ | | | | Fix signed and unsigned comparisons
| * Fix signed and unsigned comparisonsHein-Pieter van Braam2017-09-011-3/+3
| | | | | | | | The first in my quest to make Godot 3.x compile with -Werror on GCC7
* | Disabled PCRE-JIT in HTML5. Fixes #10834Zher Huei Lee2017-09-011-2/+5
|/
* Merge pull request #10148 from leezh/pcre2Rémi Verschelde2017-08-313-1313/+341
|\ | | | | Replacement of internal RegEx with PCRE2
| * Replacement of internal RegEx with PCRE2Zher Huei Lee2017-08-193-1313/+341
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The pattern and replacement matching behaviour has been changed purely due to the nature of switching to a standards-compliant library. One mistake in the previous behaviour was that named groups didn't have a number. This has been corrected. As names are actually just an alias of numbered groups, RegExMatch::get_name_dict() is now get_names() and is a dict referring to the group number it represents. Duplicate names are enabled and the with the first matching instance used. Due the lack of a suitable equivalent in PCRE2, RegExMatch::expand() was removed.
* | Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-274-4/+4
|/
* Removes type information from method bindsIgnacio Etcheverry2017-08-101-1/+1
|
* Revert "Revert "Fixed RegEx::search missing return type hint""Rémi Verschelde2017-06-261-1/+1
|
* Revert "Fixed RegEx::search missing return type hint"Juan Linietsky2017-06-261-1/+1
|
* Merge pull request #9379 from leezh/regex_bind_fixRémi Verschelde2017-06-261-1/+1
|\ | | | | Fixed RegEx::search missing return type hint
| * Fixed RegEx::search missing return type hintZher Huei Lee2017-06-261-1/+1
| |
* | Fixed inverted group thrown off by quantifiersZher Huei Lee2017-06-261-3/+4
| |
* | Fixes RegEx capture grabbing too much #9382Zher Huei Lee2017-06-261-6/+13
|/ | | | | Incorrect behaviour was caused when next->test was throwing off the results.
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-084-0/+4
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-053-255/+237
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
* Various fixes detected using PVS-Studio static analyzer.Thaer Razeq2017-02-281-1/+1
| | | | | | | - Add FIXME tags comments to some unfixed potential bugs - Remove some checks (always false: unsigned never < 0) - Fix some if statements based on reviews. - Bunch of missing `else` statements
* Rename the _MD macro to D_METHODHein-Pieter van Braam2017-02-131-16/+16
| | | | | | This new name also makes its purpose a little clearer This is a step towards fixing #56
* Remove use of _SCS from ADD_METHODHein-Pieter van Braam2017-02-131-1/+1
| | | | This saves typing and is a step towards fixing #56
* Style: Cleanups, added headers, renamed filesRémi Verschelde2017-01-161-1/+1
| | | | | | | | | Made sure files in core/ and tools/ have a proper Godot license header when written by us. Also renamed aabb.{cpp,h} and object_type_db.{cpp,h} to rect3.{cpp,h} and class_db.{cpp,h} respectively. Also added a proper header to core/io/base64.{c,h} after clarifying the licensing with the original author (public domain).
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-023-20/+20
| | | | | | | | Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
* Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-014-4/+4
| | | | | | | | That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
* Make regex compilable with RTTI disabledPedro J. Estébanez2016-11-011-4/+9
|
* style: Fix PEP8 blank lines issues in Python filesRémi Verschelde2016-11-011-1/+2
| | | | | | | | | | | Done with `autopep8 --select=E3,W3`, fixes: - E301 - Add missing blank line. - E302 - Add missing 2 blank lines. - E303 - Remove extra blank lines. - E304 - Remove blank line following function decorator. - E309 - Add missing blank line. - W391 - Remove trailing blank lines.
* Changed RegEx to inherit ResourceZher Huei Lee2016-10-272-4/+8
|
* Added global sub and bounds checking to RegExZher Huei Lee2016-10-272-13/+46
|
* RegEx re-implemented as a moduleZher Huei Lee2016-10-276-0/+1668
Re-wrote nrex as a module using godot-specific parts and new features: * Added string substitutions. * Named groups are now supported. * Removed use of mutable variables in RegEx. RegExMatch is returned instead.