sunslayer commented on a Page, Google Calculator  -  Dec 26, 2010

you can improve your regex by using

/((?<=[!@.]calc\s)-?\d+.*)/iS

instead of

/((?<=[!@.]calc\s)\d+.*)/iS

better? :p

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.