Announcement

Collapse
No announcement yet.

10221 Include files *;*.htm fails

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

  • 10221 Include files *;*.htm fails

    Name Filters, Include files: misinterprets *;*.htm as two expressions.

    Until this is fixed, is there a workaround? Not "*;*.htm", I find.

    Thanks.
    Last edited by chrisjj; 28-Apr-2009, 05:39 PM.

  • #2
    ; is used as a filter delimiter. So it would seem to me that it is being parsed correctly.
    BC v4.0.7 build 19761
    ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ

    Comment


    • #3
      > ; is used as a filter delimiter.

      In this control, newline is the filter delimiter.

      > So it would seem to me that it is being parsed correctly.

      If that were so, then it would appear there is no way of including ';' in the expresssion. I cannot believe that is WAD.

      Comment


      • #4
        Hello Chris,

        I've added your issue as a tracker entry. Thanks for the input. For now, you will need another file filter to properly filter files that does not use a semicolon.
        Aaron P Scooter Software

        Comment


        • #5
          > I've added your issue as a tracker entry.

          Thanks.

          > For now, you will need another file filter to properly filter files that does not use a semicolon.

          Sorry, I don't understand that. Is there a way I can include just files having ';'?

          Comment


          • #6
            I don't have any files to test it...but have you tried this:

            *[;]*.htm
            BC v4.0.7 build 19761
            ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ

            Comment


            • #7
              *[;]*.htm won't work because splitting the delimited filters up is done before anything else. That will be how the eventual fix is implemented though.
              Zoë P Scooter Software

              Comment


              • #8
                FYI - this is consistent with how filters work with other special characters. For example:

                *[[]*.* for file names containing the "[" character

                *]*.* is fine the way it is because there is no open square bracket to re-define the "]" character as a closing square bracket.
                BC v4.0.7 build 19761
                ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ

                Comment


                • #9
                  And another nit hardly worth fixing...but if you are going to review the logic anyway...

                  *[]]*.*

                  I would expect the [] to have no effect since there is nothing defined (empty brackets). Therefore, I would expect the above filter to be equivalent to:

                  *]*.*

                  However, in my testing, *[]]*.* doesn't filter anything...and all files are visible, not just the ones containing a "]" character.
                  BC v4.0.7 build 19761
                  ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ

                  Comment

                  Working...
                  X