Hello, Long story short:
let readonly_list = ['0000 AAAA', '0010 BBBB'] let readonly_pat = "^" . 0010 let my_match_index = match(readonly_list, readonly_pat) The above result is -1. But what I want is 1 (the 2nd item on the list) It looks that the readonly_pat is "transferred" automatically to another string "^8", as string(0010)='8'. Is it possible to avoid this typical behavior from scripting language? Thanks Sean --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
