Aliginment override is not worked for 4.1.3 (Or just misunderstood?)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zw963
    Fanatic
    • Apr 2012
    • 164

    Aliginment override is not worked for 4.1.3 (Or just misunderstood?)

    Exist two file:

    Left: PIC_20130823_133448_872.jpg
    Right: P30823-133448.jpg

    the `133448' part is the same part.

    I want to auto alignment those two files, so I add a new regexp in Session Settings -> Misc

    Left regexp: PIC_\d+_(\d+)_.+\.jpg
    Right regexp: P\d+-$1\.jpg

    save and refresh, auto-align is not happen for me.

    Thanks.
  • Aaron
    Team Scooter
    • Oct 2007
    • 16000

    #2
    Thanks. The issue here is that our Alignment Override does not support regex on the "with right file" item. It supports the $1 matching, but not the \d character. If the \d number matches for both files, you could also match syntax:
    PIC_201(\d+)_(\d+)_.+\.jpg
    with
    P$1-$2\.jpg

    Or otherwise match with:
    P30823-$1.jpg
    Aaron P Scooter Software

    Comment

    • zw963
      Fanatic
      • Apr 2012
      • 164

      #3
      It worked, Thanks.

      except, right side must '.jpg', not '\.jpg'

      Comment

      Working...