JavaScript and PHP regexes

Are JavaScript and PHP regular expressions different?

they have different methods/functions as the languages are different, but the patterns themselves should be pretty similar

Thank you for the reply.