On Fri, Aug 28, 2009 at 6:22 AM, disya2<[email protected]> wrote: > At bookmarks API doc page I failed to find what is "query" in "search" > method. After some research I found that people pass folder names and > urls to find something but found no detailed description. Is there a > clear definition of that "query"? Can I use regexp, wildcards? How > could I write queries for bookmarks/folders only?
Search works for bookmarks only, not folders. "query" is broken up into individual "words". If those words appear anywhere in the title or URL (as case-insensitive substring matches), then the bookmark will match the query. There are no regexps or wildcards. Here are some examples: (1) Foo bar baz - http://www.example.com/hello (2) foo quux - http://www.example.com/bar (3) bar baz - http://www.google.com/hello "bar hello" - matches (1) and (3) "foo hello" - matches (1) "foo example" - matches (1) and (2) "foo bar" - matches (1) and (2) > More general question: where to find up-to-date information about > extension APIs, maybe some svn path? We're going to be updating the wiki soon with links into our svn docs. The docs are still incomplete and incorrect in some places, so please bear with us: http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/api_index.html Erik > > > Thanks, > Denis > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Chromium-extensions" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/chromium-extensions?hl=en -~----------~----~----~----~------~----~------~--~---
