You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Explanation area is very nice for detailing what a particular expression is doing. I attempted to copy/paste that into my code as comments, but it made an unholy mess.
What would be useful is an export button that converts the html into a plain text equivalent (as close as is reasonable... text is only text after all) so that it can be quickly copy/pasted into a code base for future readers (so they don't go "what the heck is this???")
Example of copy/paste:
/
(?'SortOrder'[+-])(?'FindType'[tn])\((?'FindName'[^)]*)\),?
/
gm
Named Capture Group SortOrder (?'SortOrder'[+-])
Match a single character present in the list below [+-]
+- matches a single character in the list +- (case sensitive)
Named Capture Group FindType (?'FindType'[tn])
Match a single character present in the list below [tn]
tn matches a single character in the list tn (case sensitive)
\( matches the character ( literally (case sensitive)
Named Capture Group FindName (?'FindName'[^)]*)
Match a single character not present in the list below [^)]*
* Quantifier — Matches between zero and unlimited times, as many times as possible, giving back as needed (greedy)
) matches the character ) literally (case sensitive)
\) matches the character ) literally (case sensitive)
,? matches the character , literally (case sensitive)
? Quantifier — Matches between zero and one times, as many times as possible, giving back as needed (greedy)
Global pattern flags
g modifier: global. All matches (don't return after first match)
m modifier: multi line. Causes ^ and $ to match the begin/end of each line (not only begin/end of string)
What would be nice:
- / (?'SortOrder'[+-])(?'FindType'[tn])\((?'FindName'[^)]*)\),? / gm
-- Named Capture Group SortOrder (?'SortOrder'[+-])
--- Match a single character present in the list below [+-]
---- +- matches a single character in the list +- (case sensitive)
-- Named Capture Group FindType (?'FindType'[tn])
--- Match a single character present in the list below [tn]
---- tn matches a single character in the list tn (case sensitive)
- \( matches the character ( literally (case sensitive)
-- Named Capture Group FindName (?'FindName'[^)]*)
--- Match a single character not present in the list below [^)]*
---- * Quantifier — Matches between zero and unlimited times, as many times as possible, giving back as needed (greedy)
---- ) matches the character ) literally (case sensitive)
- \) matches the character ) literally (case sensitive)
-- ,? matches the character , literally (case sensitive)
--- ? Quantifier — Matches between zero and one times, as many times as possible, giving back as needed (greedy)
-- Global pattern flags
--- g modifier: global. All matches (don't return after first match)
--- m modifier: multi line. Causes ^ and $ to match the begin/end of each line (not only begin/end of string)
The text was updated successfully, but these errors were encountered:
Adding those dashes (or other indentation helper) as invisible text (0.1pt) would make it copyable, but not change it visually. This would make the change smaller and achieve the effect wanted.
The Explanation area is very nice for detailing what a particular expression is doing. I attempted to copy/paste that into my code as comments, but it made an unholy mess.
What would be useful is an export button that converts the html into a plain text equivalent (as close as is reasonable... text is only text after all) so that it can be quickly copy/pasted into a code base for future readers (so they don't go "what the heck is this???")
Example of copy/paste:
What would be nice:
The text was updated successfully, but these errors were encountered: