Goonstation Forums
[BUGFIX] 510+ RegEx Replace/Find Component - Printable Version

+- Goonstation Forums (https://forum.ss13.co)
+-- Forum: Discussion (https://forum.ss13.co/forumdisplay.php?fid=6)
+--- Forum: Patches (https://forum.ss13.co/forumdisplay.php?fid=30)
+---- Forum: Implemented (https://forum.ss13.co/forumdisplay.php?fid=31)
+---- Thread: [BUGFIX] 510+ RegEx Replace/Find Component (/showthread.php?tid=7246)



[BUGFIX] 510+ RegEx Replace/Find Component - Ronriteki - 10-12-2016

Change(s)
  • 510+ Update for RegEx Replace/Find Component
  • Splits the expression mech inputs into 3 parts for replace (Pattern/Replace/Flags) and 2 for find (Pattern/Flags)
  • Actually works now
Testing
  • Extensive testing done with AmaranthineApocalypse
Code
Thoughts/Additions
  • Should be as safe as the regex datum is
  • Maybe we should add a way to change the regex via mechanics?
Edit: Relevant thread: /showthread.php?tid=6458
Update : Now includes find component patch


RE: [BUGFIX] 510+ RegEx Replace/Find Component - Crystalwarrior - 08-31-2017

Oh man this would help a huge deal, pls implement


RE: [BUGFIX] 510+ RegEx Replace/Find Component - ZeWaka - 09-01-2017

I'll do this in my next patch round.