Libraryless. Click here for Pure Java version (7897L/55K).
1 | scope magicQuoteInputForThisProgram. |
2 | |
3 | static L<FunctionNameAndPattern> #matchers; |
4 | |
5 | static LS magicQuoteInputForThisProgram(S input, O... _) { |
6 | Cl<S> inputs = magicQuotes(input); // all quoted variants |
7 | if (matchers == null) |
8 | matchers = matchingPatternsInJavaXSource_withFunctions( |
9 | boolPar useTranspiled(_) ? getServerTranspiledWithoutLibs(programID()) |
10 | : programID()); |
11 | ret filter(inputs, i -> matchedByAnyFunctionNameAndPattern(matchers, i)); // filter quoted inputs that match |
12 | } |
13 | |
14 | end scope |
Began life as a copy of #1025366
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1025367 |
Snippet name: | magicQuoteInputForThisProgram |
Eternal ID of this version: | #1025367/3 |
Text MD5: | 6519d3bcdcf9dfd54c19b375b2658f57 |
Transpilation MD5: | 9e2cf22fcc94615321c9785d2ca2a335 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-10-11 02:21:52 |
Source code size: | 521 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 171 / 258 |
Version history: | 2 change(s) |
Referenced in: | [show references] |