Loading ...
Sorry, an error occurred while loading the content.

Re: item-list and man page

Expand Messages
  • Dr. Detlef Groth <dgroth@gmx.de>
    Hello, Great! It works almost perfectly. The only problem, thatI am not able to add the minus sign. Neither: set-variable .fhook-man.item-list-s1
    Message 1 of 4 , Dec 19, 2002
    • 0 Attachment
      Hello,
      Great! It works almost perfectly. The only problem, thatI am not able
      to add the minus sign. Neither:
      set-variable .fhook-man.item-list-s1 "^\\([A-Z\CH][\\-A-Z\CH ]+\\)"
      nor with more or less backslashes before the minus I got sucess --

      regards,
      Detlef
    • Jon Green
      ... You should be able to write the following:- set-variable .fhook-man.item-list-s1 ^ ([-A-Z][-A-Z CH ]+ ) The - as the first character of [..] is not
      Message 2 of 4 , Dec 19, 2002
      • 0 Attachment
        Dr. Detlef Groth wrote:
        > Hello,
        > Great! It works almost perfectly. The only problem, thatI am not able
        > to add the minus sign. Neither:
        > set-variable .fhook-man.item-list-s1 "^\\([A-Z\CH][\\-A-Z\CH ]+\\)"
        > nor with more or less backslashes before the minus I got sucess --
        >
        > regards,
        > Detlef

        You should be able to write the following:-

        set-variable .fhook-man.item-list-s1 "^\\([-A-Z][-A-Z\CH ]+\\)"

        The '-' as the first character of [..] is not interpreted.
        Note that I have also dropped the first "\CH", this
        was my mistake - one would not expect the line to
        commence with a backspace.

        Regards
        Jon.
      Your message has been successfully submitted and would be delivered to recipients shortly.