V2EX  ›  英汉词典

Case-insensitive

定义 Definition

case-insensitive(不区分大小写的):指在比较、搜索、匹配或处理文本时,把大写字母和小写字母视为相同(例如把 Aa 当作一样)。常见于编程、数据库查询、文件系统、搜索功能与正则表达式等场景。(也可写作 “case insensitive”。)

发音 Pronunciation

/ˌkeɪs ɪnˈsɛn.sɪ.tɪv/

例句 Examples

Please enter your username; the login is case-insensitive.
请输入你的用户名;登录时不区分大小写。

The search engine performs a case-insensitive match, so “Python”, “PYTHON”, and “python” will all return the same results, which reduces missed hits but can increase ambiguity in proper names.
这个搜索引擎进行不区分大小写的匹配,所以 “Python”“PYTHON” 和 “python” 会返回相同结果;这能减少漏搜,但在专有名词上可能增加歧义。

词源 Etymology

case(字母的“大小写”,源自印刷排字时把字模分放在不同“盒子/字盘”里)+ insensitive(不敏感的)构成,字面意思是“对大小写不敏感”。该说法在计算机与信息检索语境中广泛使用,用来强调比较规则。

相关词 Related Words

文学与著作中的用例 Literary Works

  • SQL in a Nutshell(常在讨论字符串比较、排序规则 collation 时提到 case-insensitive)
  • Programming Perl(在讲解正则表达式修饰符与匹配行为时常出现 case-insensitive)
  • Learning Python(在讲解字符串处理与比较规则时会出现相关表述)
  • JavaScript: The Definitive Guide(讨论字符串比较、正则匹配选项时会涉及 case-insensitive 的概念)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   807 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 11ms · UTC 19:41 · PVG 03:41 · LAX 11:41 · JFK 14:41
♥ Do have faith in what you're doing.