inline options regex reworked