Module: Uniword::FindReplace

Defined in:
lib/uniword/find_replace.rb,
lib/uniword/find_replace/scope.rb,
lib/uniword/find_replace/engine.rb,
lib/uniword/find_replace/result.rb,
lib/uniword/find_replace/matcher.rb,
lib/uniword/find_replace/body_scope.rb,
lib/uniword/find_replace/footer_scope.rb,
lib/uniword/find_replace/header_scope.rb,
lib/uniword/find_replace/styles_scope.rb,
lib/uniword/find_replace/comment_scope.rb,
lib/uniword/find_replace/endnote_scope.rb,
lib/uniword/find_replace/regex_matcher.rb,
lib/uniword/find_replace/footnote_scope.rb,
lib/uniword/find_replace/string_matcher.rb,
lib/uniword/find_replace/paragraph_walker.rb

Overview

Find & replace over the text-bearing parts of a DOCX package.

Public surface: Engine (orchestrator), Scope (per-part strategy), Matcher (literal or regex), Result (counts + per-scope breakdown).

Open/closed: adding a new scope = new subclass of Scope plus registration. Adding a new matcher type = new subclass of Matcher. Engine unchanged in both cases.

Defined Under Namespace

Modules: ParagraphWalker Classes: BodyScope, CommentScope, EndnoteScope, Engine, FooterScope, FootnoteScope, HeaderScope, Matcher, RegexMatcher, Result, Scope, StringMatcher, StylesScope