PLDB
Languages Features Creators Calendar CSV Resources Blog About Donate Add Language
GitHub icon

Hexadecimals

< >
Example from Java, AspectJ, Pizza, Deesel:
// 0[xX][0-9a-fA-F][0-9a-fA-F_]*[lL]?
// 0[xX][0-9a-fA-F]+n? 0x4D06792
Example from Python:
# 0[xX](?:_?[a-fA-F0-9])+
Example from Perl:
# 0x[0-9A-Fa-f]+(_[0-9A-Fa-f]+)*
Example from MySQL:
-- x'([0-9a-f]{2})+'
// 0[xX][0-9a-fA-F]+
Example from Swift:
// 0x[0-9a-fA-F_]+
Example from Ada:
-- [0-9_]+#[0-9a-f_\.]+#
Example from Haskell:
-- 0[xX]_*[\da-fA-F](_*[\da-fA-F])*
Example from Prolog, CLPR, GAEA, Progol:
% 0x[0-9a-fA-F]+
Example from Clojure:
; 0x-?[abcdef\d]+
Example from Elixir:
# 0x[\da-fA-F]+
Example from Julia:
# 0x[a-fA-F0-9]+((_[a-fA-F0-9]+)+)?
Example from Verilog:
// ([0-9]+)|(\'h)[0-9a-fA-F]+
Example from Reason:
// 0[xX][\da-fA-F][\da-fA-F_]*
Example from awk, CoffeeScript, bawk:
# 0x[0-9a-fA-F]+
Example from F#:
// 0[xX][\da-fA-F][\da-fA-F_]*[uU]?[yslLn]?[fF]?
Example from Eiffel:
-- 0[xX][a-fA-F0-9]+
Example from D:
// 0[xX][0-9a-fA-F_]+
Example from VHDL:
-- X"[0-9a-f_]+"
Example from PostScript:
% <[0-9A-Fa-f]+>(?=[()<>\[\]{}/%\s])
Example from Forth:
\ (\$[0-9A-F]+)
Example from VBScript:
' &h[0-9a-f]+
Example from Idris, Agda:
-- 0[xX][\da-fA-F]+
Example from Protocol Buffers:
// 0x[0-9a-fA-F]+[LlUu]*
Example from Monkey:
' \$[0-9a-fA-Z]+
Example from AutoIt, Hy, AutoHotkey:
; 0[xX][a-fA-F0-9]+
Example from Zephir, QML, SuperCollider, Whiley:
// 0x[0-9a-fA-F]+
Example from Icon, Unicon:
# \b([+-]?([2-9]|[12][0-9]|3[0-6])[rR][0-9a-zA-Z]+)\b
Example from Boo:
# 0x[a-fA-F0-9]+
Example from Ceylon:
// #([0-9a-fA-F]{4})(_[0-9a-fA-F]{4})+
Example from SystemVerilog:
// ([1-9][_0-9]*)?\s*\'[sS]?[hH]\s*[xXzZ?0-9a-fA-F][_xXzZ?0-9a-fA-F]*
Example from MiniD, Croc:
// 0[xX][0-9a-fA-F][0-9a-fA-F_]*
Example from Pig Latin, Transact-SQL:
-- 0x[0-9a-f]+
Example from Golo, GDScript:
# 0[xX][a-fA-F0-9]+
Example from K:
/ [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
Example from Ragel:
# 0x[0-9A-Fa-f]+
Example from Felix:
// 0[xX][0-9a-fA-F_]+([tTsSiIlLvV]|ll|LL|([iIuU])(8|16|32|64))?
Example from Jule:
0xDFF90

Languages with Hexadecimals include Java, JavaScript, Python, Perl, MySQL, Go, Swift, Ada, Haskell, TypeScript, Prolog, Clojure, Elixir, Julia, Dart, ActionScript, Verilog, Reason, awk, CoffeeScript, F#, OCaml, Eiffel, D, VHDL, PostScript, Chapel, WebAssembly, Forth, VBScript, Idris, Protocol Buffers, Monkey, BlitzBasic, Agda, Coq, AutoIt, Zig, Hy, Zephir, Icon, QML, IDL, Pony, Boo, Ceylon, F*, SystemVerilog, Opa, SuperCollider, Cython, Isabelle, MiniD, C3, ClojureScript, Puppet, Ioke, AutoHotkey, S, Pig Latin, Thrift, Transact-SQL, AspectJ, Croc, Golo, Vim script, K, SourcePawn, Xtend, Ragel, Koka, HLSL, Unicon, GLSL, Felix, Futhark, Jule, Pizza, chaiscript, Cryptol, BlitzMax, Linden Scripting Language, ooc, GDScript, Nit, clay, Meson, Whiley, OpenEdge ABL, Logtalk, Earl Grey, monte, Pawn, JS++, parasail, Kal, TAL, FloScript, Urbiscript, CLPR, wah, nimrod, Savi, Flatline, CBOR data definition language, SARL, Deesel, RAISE Specification Language, GAEA, bawk, Static Typescript, Progol

Languages without Hexadecimals include progsbase

Read more about Hexadecimals on the web: 1.

HTML of this page generated by Features.ts

hasHereDocs.html 路 hasHexadecimals.html 路 hasHomoiconicity.html

View source

PLDB - Build the next great programming language Search v2023 Day 157 Docs Acknowledgements Traffic Today Traffic Trends Mirrors GitHub feedback@pldb.com