in reply to Variable length lookbehind not implemented in regex
How about negating the question. Removes the need for negative matching:
$result= (not /^([^A-Z]|[A-Z].*(_Flags|_Info))$/); [download]