Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
annotate header regex test
/^#[\t ]+\w+[\t ]+(?:(?::\w+)|(?:\([\w,]+\)(?:[\t ]+\w+)?))(?:[\t ]+[\w, ]+)?$/
# == Schema Information
#
# Table name: programmes
#
# id :integer not null, primary key
# starts_at :datetime not null
# show_id :integer not null
# created_at :datetime
# updated_at :datetime
#
# Indexes
#
# index_programmes_on_starts_at_and_show_id (starts_at,show_id) UNIQUE
# index_programmes_on_show_id (show_id)
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment