Issue ID:
Type
Bug
Title:
FIX: Invalid pattern error when parsing some mswin-based rubygems
Created:
4/16/2023 9:16:33 PM by Alana Tripp
Status:
Awaiting Release on 4/21/2023 10:00:32 PM
Last pulled:
4/21/2023 10:06:51 PM
Description:
An error occurred processing a GET request to https://proget.schwab.com/rubygems/ruby-delegate/quick/Marshal.4.8/ffi-1.15.5-x64-mingw-ucrt.gemspec.rz: Invalid pattern '(mswin\d+)(\_(\d+))?' at offset 13. Unrecognized escape sequence \\_. Details: System.Text.RegularExpressions.RegexParseException: Invalid pattern '(mswin\d+)(\_(\d+))?' at offset 13. Unrecognized escape sequence \\_. at System.Text.RegularExpressions.RegexParser.ScanCharEscape() at System.Text.RegularExpressions.RegexParser.ScanBasicBackslash(Boolean scanOnly) at System.Text.RegularExpressions.RegexParser.CountCaptures() at System.Text.RegularExpressions.RegexParser.Parse(String pattern, RegexOptions options, CultureInfo culture) at System.Text.RegularExpressions.Regex.Init(String pattern, RegexOptions options, TimeSpan matchTimeout, CultureInfo culture) at System.Text.RegularExpressions.Regex..ctor(String pattern, RegexOptions options, TimeSpan matchTimeout, CultureInfo culture) at System.Text.RegularExpressions.Regex..ctor(String pattern, RegexOptions options) at Inedo.LazyRegex.<>c__DisplayClass1_0.<.ctor>b__0() at System.Lazy`1.PublicationOnlyViaFactory(LazyHelper initializer) at System.Lazy`1.CreateValue() at Inedo.ProGet.Feeds.RubyGems.RubyGemPlatform.ParseOS(String& os, String& version, String& cpu) at Inedo.ProGet.Feeds.RubyGems.RubyGemPlatform.Parse(String s) at Inedo.ProGet.Feeds.RubyGems.RubyGemSpec.SpecificationConverter.DumpRaw(Object value, IDictionary`2 variables) at Inedo.ProGet.Feeds.RubyGems.RubyMarshal.RubyMarshalWriter.WriteConverter(Object value, IRubyValueConverter converter) at Inedo.ProGet.Feeds.RubyGems.RubyMarshal.RubyMarshalWriter.WriteValue(Object value) at Inedo.ProGet.Feeds.RubyGems.RubyMarshal.Serialize(Object obj, Stream stream, IRubyValueConverter[] converters) at Inedo.ProGet.Feeds.RubyGems.RubyGemSpec.WriteCompressed(Stream stream) at Inedo.ProGet.WebApplication.FeedEndpoints.RubyGems.RubyGemsMarshalGemspecHandler.ProcessRequestAsync(HttpContext context, WebApiContext apiContext, RubyGemsFeed feed, String relativeUrl) at Inedo.ProGet.WebApplication.FeedEndpoints.RubyGems.RubyGemsHandler.ProcessRequestAsync(HttpContext context, WebApiContext apiContext, RubyGemsFeed feed, String relativeUrl) at Inedo.ProGet.WebApplication.FeedEndpoints.FeedEndpointHandler.FeedRequestHandler.ProcessRequestAsync(HttpContext context)