As below pattern (currentStore.*?}.*?=.*?useApp)
which search for a pattern like this:
const {currentStore} = useApp();
But I need a pattern which search for a content where assignation of currentStore
is happening like below(Not(currentStore.*?}.*?=.*?useApp)
):
currentStore = await MultiStoreService.getStoreInfoByLocation(zipCode, subdistrict);
I mean conditions which do not follow above conditions
not getting an option, welcoming suggestion if proper solution is not available.
Even if suggestion over edition original question is also welcome.
2
Answers
To match any line that assigns to
currentStore
:See live demo.
maybe this will help