page.content.match causes cpu loop with specific content
20 views
Skip to first unread message
djber...@gmail.com
unread,
Jan 15, 2019, 9:20:31 AM1/15/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to phantomjs
If I use page.content.match('test') or page.content.match('test*') everything works, if however I specify page.content.match('test**') phantomjs loops on the cpu.
Anyone any ideas why two or more *'s cause an issue?