/(?=((?!exp).)*a.*)/ =~ "expba"
# => 1
for me at least (using #match is also truthy, but the matched string is not what I'd guess the absent operator would give). /(?=((?!exp).)*a.*)/ =~ "expba"
# => 1
for me at least (using #match is also truthy, but the matched string is not what I'd guess the absent operator would give).