翻訳と辞書
Words near each other
・ MetaCASE tool
・ Metacaspase
・ Metacausta
・ MetaCDN
・ Metacentric
・ Metacentric height
・ Metaceratodus
・ Metacercops
・ Metacercops cuphomorpha
・ Metacercops hexactis
・ Metacercops praestricta
・ Metacerithiidae
・ Metacestode
・ Metachanda
・ Metachanda astrapias
Metacharacter
・ Metacheiromys
・ Metachirality
・ Metachondromatosis
・ Metachorista
・ Metachorista longiseta
・ Metachromasia
・ Metachromatic leukodystrophy
・ Metachronal rhythm
・ Metachrostis
・ Metachrostis velocior
・ Metacinema
・ Metacinnabar
・ Metacity
・ Metaclass


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Metacharacter : ウィキペディア英語版
Metacharacter

A metacharacter is a character that has a special meaning (instead of a literal meaning) to a computer program, such as a shell interpreter or a regular expression engine.
In POSIX extended regular expressions,〔 there are 14 metacharacters that must be preceded by a backslash "\" in order to drop their special meaning and be treated literally inside an expression: the open/close square brackets, "(and " )"; the backslash "\"; the caret "^"; the dollar sign "$"; the period or dot "."; the vertical bar or pipe symbol "|"; the question mark "?"; the asterisk "
*"; the plus-sign "+"; open/close curly braces, ""; and open/close parenthesis, "(" and ")".〔
If you want to use any of these characters as a literal in a regex, you need to escape them with a backslash. For example to match the arithmetic expression "(1+1)
*3=6" with a regex, then the correct regex is "\(1\+1\)\
*3=6". Otherwise, the parenthesis, plus-sign, and asterisk will have a special meaning.
==Examples==

*In some Unix shells and Windows PowerShell, the ; (semicolon) character is a statement separator.
*In many regular expression engines, the . (dot) character matches any character, not just a dot.
*In XML and HTML, the & (ampersand) character introduces an HTML entity.
*In many programming languages, strings are delimited using quotes. In some cases, escape characters (and other methods) are used to avoid delimiter collision. Example : "He said : \"Hello\"".

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Metacharacter」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.