<commit_before>module Log::Analyzer
  class Pattern < ActionDispatch::Journey::Path::Pattern
    attr_accessor :uri_pattern

    def self.from_string(string)
      @uri_pattern = string
      super
    end
  end
end<commit_msg>add uri_pattern accessor<commit_after>module Log::Analyzer
  class Pattern < ActionDispatch::Journey::Path::Pattern
    attr_accessor :uri_pattern

    def self.from_string(string)
      new(ActionDispatch::Journey::Router::Strexp.build(string, {}, ["/.?"], true), string)
    end

    def initialize(strexp, string)
      @uri_pattern = string
      super(strexp)
    end
  end
end
{'fraction_non_alphanumeric': 0.10673234811165845, 'fraction_numerical': 0.0, 'mean_word_length': 4.0, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6930705', 'n_tokens_mistral': 192, 'n_tokens_neox': 190, 'n_words': 38}