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
$comment_found = strpos($scan_str, '#'.-1); //Note: actually a position, not a bool, reverse searched
136
+
$commented_out = ($comment_found !== false && $comment_found < strpos($scan_str, "\n".-1)); //ie: # found and no inbetween \n
137
+
endif;
138
+
139
+
if ($commented_out) return'';
140
+
141
+
// This is used to find the first instance of a line which starts with neither a whitespace or comment (ie the end of the global aliases, if starting just after the g (start + 1))
0 commit comments