From Wikipedia, the free encyclopedia
括弧配對(英文:bracket matching)係好多文字編輯器都有嘅功能,指「檢驗啲括弧啱唔啱」嘅功能。
例如 ((()))
呢段碼有 3 個 (
3 個 )
,所以啲括弧配對得啱,而 (({)))
呢段碼就唔啱-有 2 個 (
3 個 )
,而個 {
冇對應嘅 }
。括弧配對功能就係攞一段碼,然後話畀用家知「啲括弧啱唔啱,而如果唔啱,係喺邊個位出錯」噉嘅資訊[1]。
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.