Top 1,000 Features Creators Resources Extensions Blog Explorer CSV Download
GitHub icon

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 1 languages: Elixir
# 0x[\da-fA-F]+
Example from 2 languages: CoffeeScript, awk
# 0x[0-9a-fA-F]+
Example from 1 languages: Julia
# 0x[a-fA-F0-9]+((_[a-fA-F0-9]+)+)?
Example from 1 languages: Prolog
% 0x[0-9a-fA-F]+
Example from 1 languages: Ada
-- [0-9_]+#[0-9a-f_\.]+#
Example from 1 languages: D
// 0[xX][0-9a-fA-F_]+
Example from 1 languages: Reason
// 0[xX][\da-fA-F][\da-fA-F_]*
Example from 1 languages: MySQL
-- x'([0-9a-f]{2})+'
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: Protocol Buffers
// 0x[0-9a-fA-F]+[LlUu]*
Example from 1 languages: Forth
\ (\$[0-9A-F]+)
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: 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 2 languages: Golo, GDScript
# 0[xX][a-fA-F0-9]+
Example from 1 languages: Boo
# 0x[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: 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: 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 1 languages: Ragel
# 0x[0-9A-Fa-f]+
Example from 2 languages: Croc, MiniD
// 0[xX][0-9a-fA-F][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
*

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

*

Languages without Hexadecimals include progsbase

*

View all concepts with or missing a hasHexadecimals measurement

*

Read more about Hexadecimals on the web: 1.

View source

- Build the next great programming language About Acknowledgements Part of the World Wide Scroll