sS regexpSpecialCharacters() { ret "\\[.^$?*+{|()"; }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027463 |
Snippet name: | regexpSpecialCharacters - minimal list to check if a literal has to be escaped in a regexp |
Eternal ID of this version: | #1027463/2 |
Text MD5: | af9b14426be4e1f4160a0ff7b272f5f7 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-03-22 14:25:56 |
Source code size: | 57 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 178 / 215 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1027464 - regexpLiteralNeedsQuoting |