I have written a regex pattern:
(trans|trans_choice|Lang::get|Lang::choice|Lang::trans|Lang::transChoice|@lang|@choice)\(([\'"]([a-zA-Z0-9_-]+([.][^)\'"]+?)+)[\'"])(\s?,\s?.*)*?[\)\]];?
For targeting laravel translation strings such as:
trans('email.subject)
@lang('email.confirm-email-address-button')
But I have trouble figuring out how to target translation strings that have slashes in them such as this:
@lang('emails/order-received.edit-order-button')