Return to Snippet

Revision: 1476
at October 10, 2006 19:34 by roberocity


Initial Code
(^								# \1 start of line
	(?<sm>\d{1,2})			# "sm" start month
	/
	(?<sd>\d{1,2})			# "sd" start day
	(/(?<sy>\d{2,4}))?	# \2 start year (optional)
	\s*?						# space separator
	(-\s*?					# \3 optional end date
	(?<em>\d{1,2})			# "em" end month
	/
	(?<ed>\d{1,2})			# "ed" end day
	(/(?<ey>\d{2,4}))?		# "ey" end year (optional)
	)?							# ending date is optional
	\s*?
	((?<task>[A-Z]{2,4})\s*?)? # optional task code
	(?<desc>.*)				# "desc" description of task
)

Initial URL

                                

Initial Description

                                

Initial Title
WTD Regex Date Syntax

Initial Tags
regex, date

Initial Language
Other