My sinatra app runs fine locally but when I push it to heroku it crashes and I get this error
RegexpError - undefined (?...) sequence: /(?<=(LIST ALL SELECTED ))\w/:
The line of code where the occurs is
match = data.match('(?<=(LIST ALL SELECTED ))\w')[0]
What I am trying to do is capture the next letter directly after 'LIST ALL SELECTED '
Any insite to what this means would be greatly appreciated.
Thanks.