Announcement

Collapse
No announcement yet.

Ignore a set of tags in html compare

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ignore a set of tags in html compare

    Can I set bc to ignore all the <a ....>...</a> tags in an html file?

    thanks,

    Scott

  • #2
    Hello,

    You can create a grammar element that matches and ignores everything from
    <a>
    to
    </a>

    Or define two grammar elements that match on:
    <a>
    and
    </a>
    specifically. (Or, more generally, with Regular Expressions:
    <[^>]>
    and
    </[^>]>

    We have a KB article and video, here:
    Beyond Compare is a multi-platform utility that combines directory compare and file compare functions in one package. Use it to manage source code, keep directories in sync, compare program output, etc.


    Please let us know if you have any questions.
    Aaron P Scooter Software

    Comment

    Working...
    X