Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Adjust Google-HTTP-Java-Client regex to be compatible with ruby #5601
@Findus23, since it is in a , ruby sees the '\d-\w' as attempting a range from \d to \w (akin to doing [a-z]). It doesn't know how to process that. However, if you make the last character in the  a -, it knows you aren't trying to create a range, but instead just want - to be one of the characters it matches.