Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2014
    Posts
    4

    Question 文件名比较(部分)

    请问,如果文件名的格式为:歌手名-歌名xxxxxx.mpg

    如何设置可以比较并忽略歌名后面的信息?虽然歌手名及歌名长度为变化的,但我想可以用"-"作为关键点,取”-“后面的2到3个字为止。



    张学友-爱你(MTV).mpg
    张学友-爱你(高清).mpg

    张二-你很好吧(MTV).mpg
    张二-你很好吧(高清).mpg

    目的是忽略不同版本。歌名对就行。

    谢谢!

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,384

    Default

    Hello,

    Unfortunately, our Alignment Override does not support matching x to y unless at least x or y is explicitly defined.

    For example, you can define the 'left' side to use a RegEx mask to match on x regardless of the x text. However, the With Right side needs text defined or to use matched expressions ($1) and cannot use RedEx expressions. The yyyy text needs to be typed into the Alignment Override.

    Expanding this behavior is on our wishlist, but currently, Alignment Overrides are designed to help more with the case where large sets of files have had the same change made throughout, like:
    *.mpg = * (HD).mpg

    translate.google.com
    您好,

    不幸的是,我们的对齐​​覆盖不支持匹配x到y除非至少x或y的明确定义。

    例如,您可以定义“左”侧使用一个正则表达式口罩,在X相匹配,无论X文字。然而,由于右侧需要的文字定义 ,或者使用匹配表达式($1),不能使用REDEX表达式。该年文本需要被输入到校准覆盖。

    扩大这种行为是对我们的愿望清单,但目前,对准覆盖,旨在帮助更多的与其中大量文件都贯穿了同样的变化做出 一样的情况下:
    *。MPG=*(HD)。MPG
    Aaron P Scooter Software

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •