RegEx - LogeshVel/learning_resources GitHub Wiki
Lookaround
In Atomic groups the backtracking is disabled that means it checks for the first condition in the string if that fails it will never back and try the second option from the start.
Here it matches foos
but it also should match foots
as per the basic regex understanding but due to the atomic group disabled the backtracking its not able to do that. so it failed to match foots once foo match is failed in foots