jmastro
16-Apr-2004, 02:08 PM
I want to compare somthing like the following:
<file RelativePath="aa" SubType="xx"/>
<file RelativePath="bb" SubType="xx"/>
<file RelativePath="cc" SubType="xx"/>
<file RelativePath="dd" SubType="xx"/>
against:
<file
RelativePath="aa"
SubType="xx"
/>
<file
RelativePath="BbBb"
SubType="xx"
/>
<file
RelativePath="cc"
SubType="yyyy"
/>
<file
RelativePath="DeeDee"
SubType="xx"
/>
That is, the spaces are different and some actual changes.
I tried using
^\s*<File
as regular expression with weigth of 5000 to align the "<File" tags.
It aligns each "<File" with each line of
<File
RelativePath=...
SubType=...
etc.
I resolved this case using de HTMLTidy.zip downloaded here.
But i have similar cases that are not XML nor HTML.
Is this Regular Expression correct? and the weight?
or do I have to modify something else, like "Align similar lines" or Skew tolerance"
Thanks in advance for any info.
<file RelativePath="aa" SubType="xx"/>
<file RelativePath="bb" SubType="xx"/>
<file RelativePath="cc" SubType="xx"/>
<file RelativePath="dd" SubType="xx"/>
against:
<file
RelativePath="aa"
SubType="xx"
/>
<file
RelativePath="BbBb"
SubType="xx"
/>
<file
RelativePath="cc"
SubType="yyyy"
/>
<file
RelativePath="DeeDee"
SubType="xx"
/>
That is, the spaces are different and some actual changes.
I tried using
^\s*<File
as regular expression with weigth of 5000 to align the "<File" tags.
It aligns each "<File" with each line of
<File
RelativePath=...
SubType=...
etc.
I resolved this case using de HTMLTidy.zip downloaded here.
But i have similar cases that are not XML nor HTML.
Is this Regular Expression correct? and the weight?
or do I have to modify something else, like "Align similar lines" or Skew tolerance"
Thanks in advance for any info.