added situational regex, which checks if a dependency needs a certain value to be set (as in C/C++ with ifdef)