Results 1 to 8 of 8
  1. #1
    Join Date
    Nov 2012
    Posts
    2

    Default how to ignore some words?

    11-22 13:58:27.953 D/RILD ( 1812): LIB_PATH_PROPERTY

    11-22 13:58:27.970 I/RIL ( 1812): Configurating tty device /dev/ttyUSB0

    11-22 13:58:27.970 E/RILC ( 1812): RIL_register: RIL version 6

    11-22 13:58:27.970 I/RIL ( 1812): entering mainLoop()

    I want to ignore "11-22 13:58:27.970" and so on...

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

    Default

    Hello,

    You will need to create a grammar for your current File Format, then mark that grammar as Unimportant in the Session Settings. We have a KB article and video here:
    http://www.scootersoftware.com/suppo..._unimportantv3

    You probably want to use a Basic grammar type, Regular Expression, of:
    \d\d-\d\d \d\d:\d\d:\d\d\.\d+
    Aaron P Scooter Software

  3. #3
    Join Date
    Apr 2008
    Posts
    2,154

    Default

    Quote Originally Posted by Aaron View Post
    You will need to create a grammar for your current File Format
    Warning: this will affect other comparisons you make of files of the same format.

  4. #4
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,366

    Default

    This is correct. We will use the Session Setting Defaults to determine the Importance of a grammar as defined in the File Format. These settings can be saved per session if you launch a specific compare and need to check/uncheck specific items in the Text Compare Session Settings.
    Aaron P Scooter Software

  5. #5
    Join Date
    Apr 2008
    Posts
    2,154

    Default

    Quote Originally Posted by Aaron View Post
    We will use the Session Setting Defaults to determine the Importance of a grammar [item] as defined in the File Format.
    Further warning: Changing those settings can interfere with other file formats, since each Importance checkbox for a given item name is shared across all file formats having an item of the same name.

  6. #6
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,366

    Default

    This is a deliberate feature. If two file formats have the same named Grammar elements, then the Importance will be set for both.

    If you create a new or edit existing grammar names in the File Formats, you can give them unique names so they are separate entities in the Importance list.
    Aaron P Scooter Software

  7. #7
    Join Date
    Apr 2008
    Posts
    2,154

    Default

    Quote Originally Posted by Aaron View Post
    This is a deliberate feature.
    No doubt, but one that hinders more than helps the application in question - ignoring words.

  8. #8
    Join Date
    Nov 2012
    Posts
    2

    Default

    thank you.
    the link is useful, (^_^)

Posting Permissions

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