Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
require 'gyazz'
re = []
wiki ='EpisoPassData')
wiki.pages.each do |page|
page.text.split(/\n/).each { |line|
if line =~ /^=(.*)$/ then
s = $1.sub(/\?$/,'')
re << s
s = "(" + re.join('|') + ")"
require 're_expand'
puts s.expand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.