Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Hexadecimals

< >
Example from 1 languages: JavaScript
// 0[xX][0-9a-fA-F]+n? 0x4D06792
Example from 1 languages: Python
# 0[xX](?:_?[a-fA-F0-9])+
Example from 2 languages: Java, AspectJ
// 0[xX][0-9a-fA-F][0-9a-fA-F_]*[lL]?
Example from 1 languages: Perl
# 0x[0-9A-Fa-f]+(_[0-9A-Fa-f]+)*
Example from 5 languages: Go, Dart, Chapel, Koka, Linden Scripting Language
// 0[xX][0-9a-fA-F]+
Example from 1 languages: Swift
// 0x[0-9a-fA-F_]+
Example from 1 languages: Lua
-- 0[xX][0-9a-fA-F]+ (integer) -- 0[xX][0-9a-fA-F]*\.[0-9a-fA-F]+([pP][+-]?[0-9]+)? (float) 0x5F3759DF 0x0.1D 0xA23p-4 0X1.921FB54442D18P+1
Example from 1 languages: Haskell
-- 0[xX]_*[\da-fA-F](_*[\da-fA-F])*
Example from 1 languages: Clojure
; 0x-?[abcdef\d]+
Example from 2 languages: CoffeeScript, awk
# 0x[0-9a-fA-F]+
Example from 1 languages: Elixir
# 0x[\da-fA-F]+
Example from 1 languages: Prolog
% 0x[0-9a-fA-F]+
Example from 1 languages: Julia
# 0x[a-fA-F0-9]+((_[a-fA-F0-9]+)+)?
Example from 1 languages: Ada
-- [0-9_]+#[0-9a-f_\.]+#
Example from 1 languages: MySQL
-- x'([0-9a-f]{2})+'
Example from 1 languages: Reason
// 0[xX][\da-fA-F][\da-fA-F_]*
Example from 1 languages: D
// 0[xX][0-9a-fA-F_]+
Example from 1 languages: F#
// 0[xX][\da-fA-F][\da-fA-F_]*[uU]?[yslLn]?[fF]?
Example from 1 languages: VHDL
-- X"[0-9a-f_]+"
Example from 2 languages: Idris, Agda
-- 0[xX][\da-fA-F]+
Example from 1 languages: Forth
\ (\$[0-9A-F]+)
Example from 1 languages: Protocol Buffers
// 0x[0-9a-fA-F]+[LlUu]*
Example from 1 languages: Verilog
// ([0-9]+)|(\'h)[0-9a-fA-F]+
Example from 3 languages: Hy, AutoHotkey, AutoIt
; 0[xX][a-fA-F0-9]+
Example from 1 languages: PostScript
% <[0-9A-Fa-f]+>(?=[()<>\[\]{}/%\s])
Example from 1 languages: Eiffel
-- 0[xX][a-fA-F0-9]+
Example from 4 languages: Zephir, QML, SuperCollider, Whiley
// 0x[0-9a-fA-F]+
Example from 1 languages: VBScript
' &h[0-9a-f]+
Example from 2 languages: Pig Latin, Transact-SQL
-- 0x[0-9a-f]+
Example from 1 languages: MoonBit
0XA
Example from 1 languages: Ceylon
// #([0-9a-fA-F]{4})(_[0-9a-fA-F]{4})+
Example from 1 languages: SystemVerilog
// ([1-9][_0-9]*)?\s*\'[sS]?[hH]\s*[xXzZ?0-9a-fA-F][_xXzZ?0-9a-fA-F]*
Example from 1 languages: K
/ [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
Example from 2 languages: Golo, GDScript
# 0[xX][a-fA-F0-9]+
Example from 1 languages: Felix
// 0[xX][0-9a-fA-F_]+([tTsSiIlLvV]|ll|LL|([iIuU])(8|16|32|64))?
Example from 1 languages: Boo
# 0x[a-fA-F0-9]+
Example from 2 languages: Icon, Unicon
# \b([+-]?([2-9]|[12][0-9]|3[0-6])[rR][0-9a-zA-Z]+)\b
Example from 1 languages: Monkey
' \$[0-9a-fA-Z]+
Example from 2 languages: Croc, MiniD
// 0[xX][0-9a-fA-F][0-9a-fA-F_]*
Example from 1 languages: Ragel
# 0x[0-9A-Fa-f]+
Example from 1 languages: Jule
0xDFF90
Example from 1 languages: Speedie
|| num = 0xBEEF
Example from 1 languages: Aardvark
`16_fa7` would evaluate as a hexadecimal number
Example from 1 languages: Crap
// The same as c
*

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

*

Languages without Hexadecimals include Lil, progsbase

*

View all concepts with or missing a hasHexadecimals measurement

*

Read more about Hexadecimals on the web: 1.

- Build the next great programming language Add Issues About Search Keywords Livestreams Labs Resources Acknowledgements