View Single Post
Backstabnoob
Veteran Member
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 06-17-2012 , 19:21   Re: [TUT] Regular Expressions
Reply With Quote #9

Can you show me how would a pattern for cron format look? This is how it is in PHP:
Code:
/^((\*(\/[0-9]+)?)|[0-9\-\,\/]+)\s+((\*(\/[0-9]+)?)|[0-9\-\,\/]+)\s+((\*(\/[0-9]+)?)|[0-9\-\,\/]+)\s+((\*(\/[0-9]+)?)|[0-9\-\,\/]+)\s+((\*(\/[0-9]+)?)|[0-9\-\,\/]+)$/i
It's just too complex for me.

Also, can you split a string using a regex pattern in pawn?
__________________
Currently busy working on a very large scale anime database project.

Last edited by Backstabnoob; 06-17-2012 at 19:31.
Backstabnoob is offline