Regular Expressions 101

Save & Share

  • Regex Version: ver. 2
  • Update Regex
    ctrl+⇧+s
  • Save new Regex
    ctrl+s
  • Add to Community Library

Flavor

  • PCRE2 (PHP >=7.3)
  • PCRE (PHP <7.3)
  • ECMAScript (JavaScript)
  • Python
  • Golang
  • Java 8
  • .NET 7.0 (C#)
  • Rust
  • Regex Flavor Guide

Function

  • Match
  • Substitution
  • List
  • Unit Tests

Tools

Sponsors
There are currently no sponsors. Become a sponsor today!
An explanation of your regex will be automatically generated as you type.
Detailed match information will be displayed here automatically.
  • All Tokens
  • Common Tokens
  • General Tokens
  • Anchors
  • Meta Sequences
  • Quantifiers
  • Group Constructs
  • Character Classes
  • Flags/Modifiers
  • Substitution
  • A single character of: a, b or c
    [abc]
  • A character except: a, b or c
    [^abc]
  • A character in the range: a-z
    [a-z]
  • A character not in the range: a-z
    [^a-z]
  • A character in the range: a-z or A-Z
    [a-zA-Z]
  • Any single character
    .
  • Alternate - match either a or b
    a|b
  • Any whitespace character
    \s
  • Any non-whitespace character
    \S
  • Any digit
    \d
  • Any non-digit
    \D
  • Any word character
    \w
  • Any non-word character
    \W
  • Non-capturing group
    (?:...)
  • Capturing group
    (...)
  • Zero or one of a
    a?
  • Zero or more of a
    a*
  • One or more of a
    a+
  • Exactly 3 of a
    a{3}
  • 3 or more of a
    a{3,}
  • Between 3 and 6 of a
    a{3,6}
  • Start of string
    ^
  • End of string
    $
  • A word boundary
    \b
  • Non-word boundary
    \B

Regular Expression
No Match

r"
"
g

Test String

Code Generator

Generated Code

// include the latest version of the regex crate in your Cargo.toml extern crate regex; use regex::Regex; fn main() { let regex = Regex::new(r"\/dev\/sda").unwrap(); let string = "{ \"id\" : \"ict-vm\", \"class\" : \"system\", \"claimed\" : true, \"handle\" : \"DMI:0001\", \"description\" : \"Laptop\", \"product\" : \"Latitude E6430 (Latitude E6430)\", \"vendor\" : \"Dell Inc.\", \"version\" : \"01\", \"serial\" : \"7WJRVY1\", \"width\" : 32, \"configuration\" : { \"boot\" : \"normal\", \"chassis\" : \"laptop\", \"cpus\" : \"2\", \"sku\" : \"Latitude E6430\", \"uuid\" : \"44454C4C-5700-104A-8052-B7C04F565931\" }, \"capabilities\" : { \"smbios-2.7\" : \"SMBIOS version 2.7\", \"dmi-2.7\" : \"DMI version 2.7\", \"smp-1.4\" : \"SMP specification v1.4\", \"smp\" : \"Symmetric Multi-Processing\" }, \"children\" : [ { \"id\" : \"core\", \"class\" : \"bus\", \"claimed\" : true, \"handle\" : \"DMI:0002\", \"description\" : \"Motherboard\", \"product\" : \"0H3MT5\", \"vendor\" : \"Dell Inc.\", \"physid\" : \"0\", \"version\" : \"A00\", \"serial\" : \"/7WJRVY1/CN129633BL0062/\", \"children\" : [ { \"id\" : \"firmware\", \"class\" : \"memory\", \"claimed\" : true, \"description\" : \"BIOS\", \"vendor\" : \"Dell Inc.\", \"physid\" : \"0\", \"version\" : \"A13\", \"date\" : \"09/02/2013\", \"units\" : \"bytes\", \"size\" : 65536, \"capacity\" : 14614528, \"capabilities\" : { \"pci\" : \"PCI bus\", \"pnp\" : \"Plug-and-Play\", \"upgrade\" : \"BIOS EEPROM can be upgraded\", \"shadowing\" : \"BIOS shadowing\", \"cdboot\" : \"Booting from CD-ROM/DVD\", \"bootselect\" : \"Selectable boot path\", \"socketedrom\" : \"BIOS ROM is socketed\", \"edd\" : \"Enhanced Disk Drive extensions\", \"int13floppy1200\" : \"5.25\\\" 1.2MB floppy\", \"int13floppy720\" : \"3.5\\\" 720KB floppy\", \"int13floppy2880\" : \"3.5\\\" 2.88MB floppy\", \"int5printscreen\" : \"Print Screen key\", \"int9keyboard\" : \"i8042 keyboard controller\", \"int14serial\" : \"INT14 serial line control\", \"int17printer\" : \"INT17 printer control\", \"acpi\" : \"ACPI\", \"usb\" : \"USB legacy emulation\", \"smartbattery\" : \"Smart battery\", \"biosbootspecification\" : \"BIOS boot specification\", \"netboot\" : \"Function-key initiated network service boot\", \"uefi\" : \"UEFI specification is supported\" } }, { \"id\" : \"cpu:0\", \"class\" : \"processor\", \"claimed\" : true, \"handle\" : \"DMI:0054\", \"description\" : \"CPU\", \"product\" : \"Intel(R) Core(TM) i7-3540M CPU @ 3.00GHz\", \"vendor\" : \"Intel Corp.\", \"physid\" : \"54\", \"businfo\" : \"cpu@0\", \"version\" : \"6.10.9\", \"serial\" : \"0003-06A9-0000-0000-0000-0000\", \"slot\" : \"SOCKET 0\", \"units\" : \"Hz\", \"size\" : 3504492000, \"capacity\" : 3700000000, \"width\" : 64, \"clock\" : 100000000, \"configuration\" : { \"cores\" : \"2\", \"enabledcores\" : \"2\", \"id\" : \"2\", \"threads\" : \"4\" }, \"capabilities\" : { \"x86-64\" : \"64bits extensions (x86-64)\", \"boot\" : \"boot processor\", \"fpu\" : \"mathematical co-processor\", \"fpu_exception\" : \"FPU exceptions reporting\", \"wp\" : true, \"vme\" : \"virtual mode extensions\", \"de\" : \"debugging extensions\", \"pse\" : \"page size extensions\", \"tsc\" : \"time stamp counter\", \"msr\" : \"model-specific registers\", \"pae\" : \"4GB+ memory addressing (Physical Address Extension)\", \"mce\" : \"machine check exceptions\", \"cx8\" : \"compare and exchange 8-byte\", \"apic\" : \"on-chip advanced programmable interrupt controller (APIC)\", \"sep\" : \"fast system calls\", \"mtrr\" : \"memory type range registers\", \"pge\" : \"page global enable\", \"mca\" : \"machine check architecture\", \"cmov\" : \"conditional move instruction\", \"pat\" : \"page attribute table\", \"pse36\" : \"36-bit page size extensions\", \"clflush\" : true, \"dts\" : \"debug trace and EMON store MSRs\", \"acpi\" : \"thermal control (ACPI)\", \"mmx\" : \"multimedia extensions (MMX)\", \"fxsr\" : \"fast floating point save/restore\", \"sse\" : \"streaming SIMD extensions (SSE)\", \"sse2\" : \"streaming SIMD extensions (SSE2)\", \"ss\" : \"self-snoop\", \"ht\" : \"HyperThreading\", \"tm\" : \"thermal interrupt and status\", \"pbe\" : \"pending break event\", \"nx\" : \"no-execute bit (NX)\", \"rdtscp\" : true, \"constant_tsc\" : true, \"arch_perfmon\" : true, \"pebs\" : true, \"bts\" : true, \"xtopology\" : true, \"nonstop_tsc\" : true, \"aperfmperf\" : true, \"eagerfpu\" : true, \"pni\" : true, \"pclmulqdq\" : true, \"dtes64\" : true, \"monitor\" : true, \"ds_cpl\" : true, \"vmx\" : \"CPU virtualization (Vanderpool)\", \"smx\" : true, \"est\" : true, \"tm2\" : true, \"ssse3\" : true, \"cx16\" : true, \"xtpr\" : true, \"pdcm\" : true, \"pcid\" : true, \"sse4_1\" : true, \"sse4_2\" : true, \"x2apic\" : true, \"popcnt\" : true, \"tsc_deadline_timer\" : true, \"aes\" : true, \"xsave\" : true, \"avx\" : true, \"f16c\" : true, \"rdrand\" : true, \"lahf_lm\" : true, \"epb\" : true, \"tpr_shadow\" : true, \"vnmi\" : true, \"flexpriority\" : true, \"ept\" : true, \"vpid\" : true, \"fsgsbase\" : true, \"smep\" : true, \"erms\" : true, \"xsaveopt\" : true, \"dtherm\" : true, \"ida\" : true, \"arat\" : true, \"pln\" : true, \"pts\" : true, \"cpufreq\" : \"CPU Frequency scaling\" }, \"children\" : [ { \"id\" : \"cache:0\", \"class\" : \"memory\", \"claimed\" : true, \"handle\" : \"DMI:0044\", \"description\" : \"L2 cache\", \"physid\" : \"44\", \"slot\" : \"CPU Internal L2\", \"units\" : \"bytes\", \"size\" : 524288, \"capacity\" : 524288, \"configuration\" : { \"level\" : \"2\" }, \"capabilities\" : { \"internal\" : \"Internal\", \"write-through\" : \"Write-trough\", \"unified\" : \"Unified cache\" } }, { \"id\" : \"cache:1\", \"class\" : \"memory\", \"claimed\" : true, \"handle\" : \"DMI:0045\", \"description\" : \"L1 cache\", \"physid\" : \"45\", \"slot\" : \"CPU Internal L1\", \"units\" : \"bytes\", \"size\" : 131072, \"capacity\" : 131072, \"configuration\" : { \"level\" : \"1\" }, \"capabilities\" : { \"internal\" : \"Internal\", \"write-through\" : \"Write-trough\", \"data\" : \"Data cache\" } }, { \"id\" : \"cache:2\", \"class\" : \"memory\", \"claimed\" : true, \"handle\" : \"DMI:0046\", \"description\" : \"L3 cache\", \"physid\" : \"46\", \"slot\" : \"CPU Internal L3\", \"units\" : \"bytes\", \"size\" : 4194304, \"capacity\" : 4194304, \"configuration\" : { \"level\" : \"3\" }, \"capabilities\" : { \"internal\" : \"Internal\", \"write-back\" : \"Write-back\", \"unified\" : \"Unified cache\" } }, { \"id\" : \"logicalcpu:0\", \"class\" : \"processor\", \"claimed\" : true, \"handle\" : \"CPU:2.0\", \"description\" : \"Logical CPU\", \"physid\" : \"2.1\", \"width\" : 64, \"capabilities\" : { \"logical\" : \"Logical CPU\" } }, { \"id\" : \"logicalcpu:1\", \"class\" : \"processor\", \"claimed\" : true, \"handle\" : \"CPU:2.1\", \"description\" : \"Logical CPU\", \"physid\" : \"2.2\", \"width\" : 64, \"capabilities\" : { \"logical\" : \"Logical CPU\" } }, { \"id\" : \"logicalcpu:2\", \"class\" : \"processor\", \"claimed\" : true, \"handle\" : \"CPU:2.2\", \"description\" : \"Logical CPU\", \"physid\" : \"2.3\", \"width\" : 64, \"capabilities\" : { \"logical\" : \"Logical CPU\" } }, { \"id\" : \"logicalcpu:3\", \"class\" : \"processor\", \"claimed\" : true, \"handle\" : \"CPU:2.3\", \"description\" : \"Logical CPU\", \"physid\" : \"2.4\", \"width\" : 64, \"capabilities\" : { \"logical\" : \"Logical CPU\" } }, { \"id\" : \"logicalcpu:4\", \"class\" : \"processor\", \"claimed\" : true, \"handle\" : \"CPU:2.4\", \"description\" : \"Logical CPU\", \"physid\" : \"2.5\", \"width\" : 64, \"capabilities\" : { \"logical\" : \"Logical CPU\" } }, { \"id\" : \"logicalcpu:5\", \"class\" : \"processor\", \"claimed\" : true, \"handle\" : \"CPU:2.5\", \"description\" : \"Logical CPU\", \"physid\" : \"2.6\", \"width\" : 64, \"capabilities\" : { \"logical\" : \"Logical CPU\" } }, { \"id\" : \"logicalcpu:6\", \"class\" : \"processor\", \"claimed\" : true, \"handle\" : \"CPU:2.6\", \"description\" : \"Logical CPU\", \"physid\" : \"2.7\", \"width\" : 64, \"capabilities\" : { \"logical\" : \"Logical CPU\" } }, { \"id\" : \"logicalcpu:7\", \"class\" : \"processor\", \"claimed\" : true, \"handle\" : \"CPU:2.7\", \"description\" : \"Logical CPU\", \"physid\" : \"2.8\", \"width\" : 64, \"capabilities\" : { \"logical\" : \"Logical CPU\" } }, { \"id\" : \"logicalcpu:8\", \"class\" : \"processor\", \"claimed\" : true, \"handle\" : \"CPU:2.8\", \"description\" : \"Logical CPU\", \"physid\" : \"2.9\", \"width\" : 64, \"capabilities\" : { \"logical\" : \"Logical CPU\" } }, { \"id\" : \"logicalcpu:9\", \"class\" : \"processor\", \"claimed\" : true, \"handle\" : \"CPU:2.9\", \"description\" : \"Logical CPU\", \"physid\" : \"2.a\", \"width\" : 64, \"capabilities\" : { \"logical\" : \"Logical CPU\" } }, { \"id\" : \"logicalcpu:10\", \"class\" : \"processor\", \"claimed\" : true, \"handle\" : \"CPU:2.10\", \"description\" : \"Logical CPU\", \"physid\" : \"2.b\", \"width\" : 64, \"capabilities\" : { \"logical\" : \"Logical CPU\" } }, { \"id\" : \"logicalcpu:11\", \"class\" : \"processor\", \"claimed\" : true, \"handle\" : \"CPU:2.11\", \"description\" : \"Logical CPU\", \"physid\" : \"2.c\", \"width\" : 64, \"capabilities\" : { \"logical\" : \"Logical CPU\" } }, { \"id\" : \"logicalcpu:12\", \"class\" : \"processor\", \"claimed\" : true, \"handle\" : \"CPU:2.12\", \"description\" : \"Logical CPU\", \"physid\" : \"2.d\", \"width\" : 64, \"capabilities\" : { \"logical\" : \"Logical CPU\" } }, { \"id\" : \"logicalcpu:13\", \"class\" : \"processor\", \"claimed\" : true, \"handle\" : \"CPU:2.13\", \"description\" : \"Logical CPU\", \"physid\" : \"2.e\", \"width\" : 64, \"capabilities\" : { \"logical\" : \"Logical CPU\" } }, { \"id\" : \"logicalcpu:14\", \"class\" : \"processor\", \"claimed\" : true, \"handle\" : \"CPU:2.14\", \"description\" : \"Logical CPU\", \"physid\" : \"2.f\", \"width\" : 64, \"capabilities\" : { \"logical\" : \"Logical CPU\" } }, { \"id\" : \"logicalcpu:15\", \"class\" : \"processor\", \"claimed\" : true, \"handle\" : \"CPU:2.15\", \"description\" : \"Logical CPU\", \"physid\" : \"2.10\", \"width\" : 64, \"capabilities\" : { \"logical\" : \"Logical CPU\" } } ] }, { \"id\" : \"memory\", \"class\" : \"memory\", \"claimed\" : true, \"handle\" : \"DMI:0047\", \"description\" : \"System Memory\", \"physid\" : \"47\", \"slot\" : \"System board or motherboard\", \"units\" : \"bytes\", \"size\" : 8589934592, \"children\" : [ { \"id\" : \"bank:0\", \"class\" : \"memory\", \"claimed\" : true, \"handle\" : \"DMI:0048\", \"description\" : \"SODIMM DDR3 Synchronous 1600 MHz (0.6 ns)\", \"product\" : \"HMT351S6EFR8A-PB\", \"vendor\" : \"Hynix/Hyundai\", \"physid\" : \"0\", \"serial\" : \"01106510\", \"slot\" : \"DIMM A\", \"units\" : \"bytes\", \"size\" : 4294967296, \"width\" : 64, \"clock\" : 1600000000 }, { \"id\" : \"bank:1\", \"class\" : \"memory\", \"claimed\" : true, \"handle\" : \"DMI:004A\", \"description\" : \"SODIMM DDR3 Synchronous 1600 MHz (0.6 ns)\", \"product\" : \"HMT351S6EFR8A-PB\", \"vendor\" : \"Hynix/Hyundai\", \"physid\" : \"1\", \"serial\" : \"018064B9\", \"slot\" : \"DIMM B\", \"units\" : \"bytes\", \"size\" : 4294967296, \"width\" : 64, \"clock\" : 1600000000 } ] }, { \"id\" : \"cpu:1\", \"class\" : \"processor\", \"claimed\" : true, \"physid\" : \"1\", \"businfo\" : \"cpu@1\", \"version\" : \"6.10.9\", \"serial\" : \"0003-06A9-0000-0000-0000-0000\", \"units\" : \"Hz\", \"size\" : 3499921000, \"capacity\" : 3700000000, \"configuration\" : { \"id\" : \"2\" }, \"capabilities\" : { \"vmx\" : \"CPU virtualization (Vanderpool)\", \"ht\" : \"HyperThreading\", \"cpufreq\" : \"CPU Frequency scaling\" }, \"children\" : [ { \"id\" : \"logicalcpu:0\", \"class\" : \"processor\", \"claimed\" : true, \"handle\" : \"CPU:2.0\", \"description\" : \"Logical CPU\", \"physid\" : \"2.1\", \"capabilities\" : { \"logical\" : \"Logical CPU\" } }, { \"id\" : \"logicalcpu:1\", \"class\" : \"processor\", \"claimed\" : true, \"handle\" : \"CPU:2.1\", \"description\" : \"Logical CPU\", \"physid\" : \"2.2\", \"capabilities\" : { \"logical\" : \"Logical CPU\" } }, { \"id\" : \"logicalcpu:2\", \"class\" : \"processor\", \"claimed\" : true, \"handle\" : \"CPU:2.2\", \"description\" : \"Logical CPU\", \"physid\" : \"2.3\", \"capabilities\" : { \"logical\" : \"Logical CPU\" } }, { \"id\" : \"logicalcpu:3\", \"class\" : \"processor\", \"claimed\" : true, \"handle\" : \"CPU:2.3\", \"description\" : \"Logical CPU\", \"physid\" : \"2.4\", \"capabilities\" : { \"logical\" : \"Logical CPU\" } }, { \"id\" : \"logicalcpu:4\", \"class\" : \"processor\", \"claimed\" : true, \"handle\" : \"CPU:2.4\", \"description\" : \"Logical CPU\", \"physid\" : \"2.5\", \"capabilities\" : { \"logical\" : \"Logical CPU\" } }, { \"id\" : \"logicalcpu:5\", \"class\" : \"processor\", \"claimed\" : true, \"handle\" : \"CPU:2.5\", \"description\" : \"Logical CPU\", \"physid\" : \"2.6\", \"capabilities\" : { \"logical\" : \"Logical CPU\" } }, { \"id\" : \"logicalcpu:6\", \"class\" : \"processor\", \"claimed\" : true, \"handle\" : \"CPU:2.6\", \"description\" : \"Logical CPU\", \"physid\" : \"2.7\", \"capabilities\" : { \"logical\" : \"Logical CPU\" } }, { \"id\" : \"logicalcpu:7\", \"class\" : \"processor\", \"claimed\" : true, \"handle\" : \"CPU:2.7\", \"description\" : \"Logical CPU\", \"physid\" : \"2.8\", \"capabilities\" : { \"logical\" : \"Logical CPU\" } }, { \"id\" : \"logicalcpu:8\", \"class\" : \"processor\", \"claimed\" : true, \"handle\" : \"CPU:2.8\", \"description\" : \"Logical CPU\", \"physid\" : \"2.9\", \"capabilities\" : { \"logical\" : \"Logical CPU\" } }, { \"id\" : \"logicalcpu:9\", \"class\" : \"processor\", \"claimed\" : true, \"handle\" : \"CPU:2.9\", \"description\" : \"Logical CPU\", \"physid\" : \"2.a\", \"capabilities\" : { \"logical\" : \"Logical CPU\" } }, { \"id\" : \"logicalcpu:10\", \"class\" : \"processor\", \"claimed\" : true, \"handle\" : \"CPU:2.10\", \"description\" : \"Logical CPU\", \"physid\" : \"2.b\", \"capabilities\" : { \"logical\" : \"Logical CPU\" } }, { \"id\" : \"logicalcpu:11\", \"class\" : \"processor\", \"claimed\" : true, \"handle\" : \"CPU:2.11\", \"description\" : \"Logical CPU\", \"physid\" : \"2.c\", \"capabilities\" : { \"logical\" : \"Logical CPU\" } }, { \"id\" : \"logicalcpu:12\", \"class\" : \"processor\", \"claimed\" : true, \"handle\" : \"CPU:2.12\", \"description\" : \"Logical CPU\", \"physid\" : \"2.d\", \"capabilities\" : { \"logical\" : \"Logical CPU\" } }, { \"id\" : \"logicalcpu:13\", \"class\" : \"processor\", \"claimed\" : true, \"handle\" : \"CPU:2.13\", \"description\" : \"Logical CPU\", \"physid\" : \"2.e\", \"capabilities\" : { \"logical\" : \"Logical CPU\" } }, { \"id\" : \"logicalcpu:14\", \"class\" : \"processor\", \"claimed\" : true, \"handle\" : \"CPU:2.14\", \"description\" : \"Logical CPU\", \"physid\" : \"2.f\", \"capabilities\" : { \"logical\" : \"Logical CPU\" } }, { \"id\" : \"logicalcpu:15\", \"class\" : \"processor\", \"claimed\" : true, \"handle\" : \"CPU:2.15\", \"description\" : \"Logical CPU\", \"physid\" : \"2.10\", \"capabilities\" : { \"logical\" : \"Logical CPU\" } } ] }, { \"id\" : \"pci\", \"class\" : \"bridge\", \"claimed\" : true, \"handle\" : \"PCIBUS:0000:00\", \"description\" : \"Host bridge\", \"product\" : \"3rd Gen Core processor DRAM Controller\", \"vendor\" : \"Intel Corporation\", \"physid\" : \"100\", \"businfo\" : \"pci@0000:00:00.0\", \"version\" : \"09\", \"width\" : 32, \"clock\" : 33000000, \"configuration\" : { \"driver\" : \"ivb_uncore\" }, \"children\" : [ { \"id\" : \"pci:0\", \"class\" : \"bridge\", \"claimed\" : true, \"handle\" : \"PCIBUS:0000:01\", \"description\" : \"PCI bridge\", \"product\" : \"Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port\", \"vendor\" : \"Intel Corporation\", \"physid\" : \"1\", \"businfo\" : \"pci@0000:00:01.0\", \"version\" : \"09\", \"width\" : 32, \"clock\" : 33000000, \"configuration\" : { \"driver\" : \"pcieport\" }, \"capabilities\" : { \"pci\" : true, \"pm\" : \"Power Management\", \"msi\" : \"Message Signalled Interrupts\", \"pciexpress\" : \"PCI Express\", \"normal_decode\" : true, \"bus_master\" : \"bus mastering\", \"cap_list\" : \"PCI capabilities listing\" }, \"children\" : [ { \"id\" : \"display\", \"class\" : \"display\", \"claimed\" : true, \"handle\" : \"PCI:0000:01:00.0\", \"description\" : \"VGA compatible controller\", \"product\" : \"GF108GLM [NVS 5200M]\", \"vendor\" : \"NVIDIA Corporation\", \"physid\" : \"0\", \"businfo\" : \"pci@0000:01:00.0\", \"version\" : \"a1\", \"width\" : 64, \"clock\" : 33000000, \"configuration\" : { \"driver\" : \"nouveau\", \"latency\" : \"0\" }, \"capabilities\" : { \"pm\" : \"Power Management\", \"msi\" : \"Message Signalled Interrupts\", \"pciexpress\" : \"PCI Express\", \"vga_controller\" : true, \"bus_master\" : \"bus mastering\", \"cap_list\" : \"PCI capabilities listing\", \"rom\" : \"extension ROM\" } } ] }, { \"id\" : \"display\", \"class\" : \"display\", \"claimed\" : true, \"handle\" : \"PCI:0000:00:02.0\", \"description\" : \"VGA compatible controller\", \"product\" : \"3rd Gen Core processor Graphics Controller\", \"vendor\" : \"Intel Corporation\", \"physid\" : \"2\", \"businfo\" : \"pci@0000:00:02.0\", \"version\" : \"09\", \"width\" : 64, \"clock\" : 33000000, \"configuration\" : { \"driver\" : \"i915\", \"latency\" : \"0\" }, \"capabilities\" : { \"msi\" : \"Message Signalled Interrupts\", \"pm\" : \"Power Management\", \"vga_controller\" : true, \"bus_master\" : \"bus mastering\", \"cap_list\" : \"PCI capabilities listing\", \"rom\" : \"extension ROM\" } }, { \"id\" : \"usb:0\", \"class\" : \"bus\", \"claimed\" : true, \"handle\" : \"PCI:0000:00:14.0\", \"description\" : \"USB controller\", \"product\" : \"7 Series/C210 Series Chipset Family USB xHCI Host Controller\", \"vendor\" : \"Intel Corporation\", \"physid\" : \"14\", \"businfo\" : \"pci@0000:00:14.0\", \"version\" : \"04\", \"width\" : 64, \"clock\" : 33000000, \"configuration\" : { \"driver\" : \"xhci_hcd\", \"latency\" : \"0\" }, \"capabilities\" : { \"pm\" : \"Power Management\", \"msi\" : \"Message Signalled Interrupts\", \"xhci\" : true, \"bus_master\" : \"bus mastering\", \"cap_list\" : \"PCI capabilities listing\" }, \"children\" : [ { \"id\" : \"usbhost:0\", \"class\" : \"bus\", \"claimed\" : true, \"handle\" : \"USB:4:1\", \"product\" : \"xHCI Host Controller\", \"vendor\" : \"Linux 4.4.0-53-generic xhci-hcd\", \"physid\" : \"0\", \"businfo\" : \"usb@4\", \"logicalname\" : \"usb4\", \"version\" : \"4.04\", \"configuration\" : { \"driver\" : \"hub\", \"slots\" : \"4\", \"speed\" : \"5000Mbit/s\" }, \"capabilities\" : { \"usb-3.00\" : true }, \"children\" : [ { \"id\" : \"usb\", \"class\" : \"storage\", \"claimed\" : true, \"handle\" : \"SCSI:00\", \"description\" : \"Mass storage device\", \"product\" : \"DataTraveler 3.0\", \"vendor\" : \"Kingston\", \"physid\" : \"1\", \"businfo\" : \"usb@4:1\", \"logicalname\" : \"scsi0\", \"version\" : \"0.01\", \"serial\" : \"60A44C41388DF081D98600F9\", \"configuration\" : { \"driver\" : \"usb-storage\", \"maxpower\" : \"296mA\", \"speed\" : \"5000Mbit/s\" }, \"capabilities\" : { \"usb-3.00\" : true, \"scsi\" : \"SCSI\", \"emulated\" : \"Emulated device\", \"scsi-host\" : \"SCSI host adapter\" }, \"children\" : [ { \"id\" : \"disk\", \"class\" : \"disk\", \"claimed\" : true, \"handle\" : \"SCSI:00:00:00:00\", \"description\" : \"SCSI Disk\", \"physid\" : \"0.0.0\", \"businfo\" : \"scsi@0:0.0.0\", \"logicalname\" : \"/dev/sda\", \"dev\" : \"8:0\", \"units\" : \"bytes\", \"size\" : 15472047104, \"configuration\" : { \"logicalsectorsize\" : \"512\", \"sectorsize\" : \"512\", \"signature\" : \"352d053a\" }, \"capabilities\" : { \"partitioned\" : \"Partitioned disk\", \"partitioned:dos\" : \"MS-DOS partition table\" }, \"children\" : [ { \"id\" : \"volume\", \"class\" : \"volume\", \"claimed\" : true, \"description\" : \"Windows NTFS volume\", \"physid\" : \"1\", \"businfo\" : \"scsi@0:0.0.0,1\", \"logicalname\" : [\"/dev/sda1\", \"/media/ict/KINGSTON\"], \"dev\" : \"8:1\", \"version\" : \"3.1\", \"serial\" : \"f4c4-4fe7\", \"size\" : 15471460864, \"capacity\" : 15471493632, \"configuration\" : { \"clustersize\" : \"4096\", \"created\" : \"2017-01-12 12:53:13\", \"filesystem\" : \"ntfs\", \"label\" : \"KINGSTON\", \"modified_by_chkdsk\" : \"true\", \"mount.fstype\" : \"fuseblk\", \"mount.options\" : \"rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096\", \"mounted_on_nt4\" : \"true\", \"resize_log_file\" : \"true\", \"state\" : \"mounted\", \"upgrade_on_mount\" : \"true\" }, \"capabilities\" : { \"primary\" : \"Primary partition\", \"bootable\" : \"Bootable partition (active)\", \"ntfs\" : \"Windows NTFS\", \"initialized\" : \"initialized volume\" } } ] } ] } ] }, { \"id\" : \"usbhost:1\", \"class\" : \"bus\", \"claimed\" : true, \"handle\" : \"USB:3:1\", \"product\" : \"xHCI Host Controller\", \"vendor\" : \"Linux 4.4.0-53-generic xhci-hcd\", \"physid\" : \"1\", \"businfo\" : \"usb@3\", \"logicalname\" : \"usb3\", \"version\" : \"4.04\", \"configuration\" : { \"driver\" : \"hub\", \"slots\" : \"4\", \"speed\" : \"480Mbit/s\" }, \"capabilities\" : { \"usb-2.00\" : \"USB 2.0\" } } ] }, { \"id\" : \"communication:0\", \"class\" : \"communication\", \"claimed\" : true, \"handle\" : \"PCI:0000:00:16.0\", \"description\" : \"Communication controller\", \"product\" : \"7 Series/C210 Series Chipset Family MEI Controller #1\", \"vendor\" : \"Intel Corporation\", \"physid\" : \"16\", \"businfo\" : \"pci@0000:00:16.0\", \"version\" : \"04\", \"width\" : 64, \"clock\" : 33000000, \"configuration\" : { \"driver\" : \"mei_me\", \"latency\" : \"0\" }, \"capabilities\" : { \"pm\" : \"Power Management\", \"msi\" : \"Message Signalled Interrupts\", \"bus_master\" : \"bus mastering\", \"cap_list\" : \"PCI capabilities listing\" } }, { \"id\" : \"communication:1\", \"class\" : \"communication\", \"claimed\" : true, \"handle\" : \"PCI:0000:00:16.3\", \"description\" : \"Serial controller\", \"product\" : \"7 Series/C210 Series Chipset Family KT Controller\", \"vendor\" : \"Intel Corporation\", \"physid\" : \"16.3\", \"businfo\" : \"pci@0000:00:16.3\", \"version\" : \"04\", \"width\" : 32, \"clock\" : 66000000, \"configuration\" : { \"driver\" : \"serial\", \"latency\" : \"0\" }, \"capabilities\" : { \"pm\" : \"Power Management\", \"msi\" : \"Message Signalled Interrupts\", \"16550\" : true, \"bus_master\" : \"bus mastering\", \"cap_list\" : \"PCI capabilities listing\" } }, { \"id\" : \"network\", \"class\" : \"network\", \"claimed\" : true, \"handle\" : \"PCI:0000:00:19.0\", \"description\" : \"Ethernet interface\", \"product\" : \"82579LM Gigabit Network Connection\", \"vendor\" : \"Intel Corporation\", \"physid\" : \"19\", \"businfo\" : \"pci@0000:00:19.0\", \"logicalname\" : \"eno1\", \"version\" : \"04\", \"serial\" : \"f0:1f:af:5d:4f:39\", \"units\" : \"bit/s\", \"capacity\" : 1000000000, \"width\" : 32, \"clock\" : 33000000, \"configuration\" : { \"autonegotiation\" : \"on\", \"broadcast\" : \"yes\", \"driver\" : \"e1000e\", \"driverversion\" : \"3.2.6-k\", \"firmware\" : \"0.13-3\", \"latency\" : \"0\", \"link\" : \"no\", \"multicast\" : \"yes\", \"port\" : \"twisted pair\" }, \"capabilities\" : { \"pm\" : \"Power Management\", \"msi\" : \"Message Signalled Interrupts\", \"bus_master\" : \"bus mastering\", \"cap_list\" : \"PCI capabilities listing\", \"ethernet\" : true, \"physical\" : \"Physical interface\", \"tp\" : \"twisted pair\", \"10bt\" : \"10Mbit/s\", \"10bt-fd\" : \"10Mbit/s (full duplex)\", \"100bt\" : \"100Mbit/s\", \"100bt-fd\" : \"100Mbit/s (full duplex)\", \"1000bt-fd\" : \"1Gbit/s (full duplex)\", \"autonegotiation\" : \"Auto-negotiation\" } }, { \"id\" : \"usb:1\", \"class\" : \"bus\", \"claimed\" : true, \"handle\" : \"PCI:0000:00:1a.0\", \"description\" : \"USB controller\", \"product\" : \"7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2\", \"vendor\" : \"Intel Corporation\", \"physid\" : \"1a\", \"businfo\" : \"pci@0000:00:1a.0\", \"version\" : \"04\", \"width\" : 32, \"clock\" : 33000000, \"configuration\" : { \"driver\" : \"ehci-pci\", \"latency\" : \"0\" }, \"capabilities\" : { \"pm\" : \"Power Management\", \"debug\" : \"Debug port\", \"ehci\" : \"Enhanced Host Controller Interface (USB2)\", \"bus_master\" : \"bus mastering\", \"cap_list\" : \"PCI capabilities listing\" }, \"children\" : [ { \"id\" : \"usbhost\", \"class\" : \"bus\", \"claimed\" : true, \"handle\" : \"USB:1:1\", \"product\" : \"EHCI Host Controller\", \"vendor\" : \"Linux 4.4.0-53-generic ehci_hcd\", \"physid\" : \"1\", \"businfo\" : \"usb@1\", \"logicalname\" : \"usb1\", \"version\" : \"4.04\", \"configuration\" : { \"driver\" : \"hub\", \"slots\" : \"3\", \"speed\" : \"480Mbit/s\" }, \"capabilities\" : { \"usb-2.00\" : \"USB 2.0\" }, \"children\" : [ { \"id\" : \"usb\", \"class\" : \"bus\", \"claimed\" : true, \"handle\" : \"USB:1:2\", \"description\" : \"USB hub\", \"product\" : \"Integrated Rate Matching Hub\", \"vendor\" : \"Intel Corp.\", \"physid\" : \"1\", \"businfo\" : \"usb@1:1\", \"version\" : \"0.00\", \"configuration\" : { \"driver\" : \"hub\", \"slots\" : \"6\", \"speed\" : \"480Mbit/s\" }, \"capabilities\" : { \"usb-2.00\" : \"USB 2.0\" }, \"children\" : [ { \"id\" : \"usb:0\", \"class\" : \"storage\", \"claimed\" : true, \"handle\" : \"SCSI:07\", \"description\" : \"Mass storage device\", \"product\" : \"DataTraveler 3.0\", \"vendor\" : \"Kingston\", \"physid\" : \"2\", \"businfo\" : \"usb@1:1.2\", \"logicalname\" : \"scsi7\", \"version\" : \"1.10\", \"serial\" : \"60A44C3FB03BBFA0E98F0042\", \"configuration\" : { \"driver\" : \"usb-storage\", \"maxpower\" : \"300mA\", \"speed\" : \"480Mbit/s\" }, \"capabilities\" : { \"usb-2.10\" : true, \"scsi\" : \"SCSI\", \"emulated\" : \"Emulated device\", \"scsi-host\" : \"SCSI host adapter\" }, \"children\" : [ { \"id\" : \"disk\", \"class\" : \"disk\", \"claimed\" : true, \"handle\" : \"SCSI:07:00:00:00\", \"description\" : \"SCSI Disk\", \"physid\" : \"0.0.0\", \"businfo\" : \"scsi@7:0.0.0\", \"logicalname\" : \"/dev/sdb\", \"dev\" : \"8:16\", \"units\" : \"bytes\", \"size\" : 7751073792, \"configuration\" : { \"logicalsectorsize\" : \"512\", \"sectorsize\" : \"512\" }, \"capabilities\" : { \"partitioned\" : \"Partitioned disk\", \"partitioned:dos\" : \"MS-DOS partition table\" }, \"children\" : [ { \"id\" : \"volume\", \"class\" : \"volume\", \"claimed\" : true, \"description\" : \"Windows FAT volume\", \"vendor\" : \"SYSLINUX\", \"physid\" : \"1\", \"businfo\" : \"scsi@7:0.0.0,1\", \"logicalname\" : [\"/dev/sdb1\", \"/lib/live/mount/medium\"], \"dev\" : \"8:17\", \"version\" : \"FAT32\", \"serial\" : \"1de3-2355\", \"size\" : 7748960256, \"capacity\" : 7750025216, \"configuration\" : { \"FATs\" : \"2\", \"filesystem\" : \"fat\", \"label\" : \"UUI\", \"mount.fstype\" : \"vfat\", \"mount.options\" : \"ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro\", \"state\" : \"mounted\" }, \"capabilities\" : { \"primary\" : \"Primary partition\", \"bootable\" : \"Bootable partition (active)\", \"fat\" : \"Windows FAT\", \"initialized\" : \"initialized volume\" } } ] } ] }, { \"id\" : \"usb:1\", \"class\" : \"generic\", \"claimed\" : true, \"handle\" : \"USB:1:4\", \"description\" : \"Generic USB device\", \"product\" : \"BCM20702A0\", \"vendor\" : \"Broadcom Corp\", \"physid\" : \"4\", \"businfo\" : \"usb@1:1.4\", \"version\" : \"1.12\", \"serial\" : \"A4DB30B9947C\", \"configuration\" : { \"driver\" : \"btusb\", \"speed\" : \"12Mbit/s\" }, \"capabilities\" : { \"usb-2.00\" : \"USB 2.0\" } }, { \"id\" : \"usb:2\", \"class\" : \"multimedia\", \"claimed\" : true, \"handle\" : \"USB:1:5\", \"description\" : \"Video\", \"product\" : \"Laptop_Integrated_Webcam_E4HD\", \"vendor\" : \"CN0Y4TWT724873ASA1X3A01\", \"physid\" : \"5\", \"businfo\" : \"usb@1:1.5\", \"version\" : \"28.06\", \"configuration\" : { \"driver\" : \"uvcvideo\", \"maxpower\" : \"500mA\", \"speed\" : \"480Mbit/s\" }, \"capabilities\" : { \"usb-2.00\" : \"USB 2.0\" } } ] } ] } ] }, { \"id\" : \"multimedia\", \"class\" : \"multimedia\", \"claimed\" : true, \"handle\" : \"PCI:0000:00:1b.0\", \"description\" : \"Audio device\", \"product\" : \"7 Series/C210 Series Chipset Family High Definition Audio Controller\", \"vendor\" : \"Intel Corporation\", \"physid\" : \"1b\", \"businfo\" : \"pci@0000:00:1b.0\", \"version\" : \"04\", \"width\" : 64, \"clock\" : 33000000, \"configuration\" : { \"driver\" : \"snd_hda_intel\", \"latency\" : \"0\" }, \"capabilities\" : { \"pm\" : \"Power Management\", \"msi\" : \"Message Signalled Interrupts\", \"pciexpress\" : \"PCI Express\", \"bus_master\" : \"bus mastering\", \"cap_list\" : \"PCI capabilities listing\" } }, { \"id\" : \"pci:1\", \"class\" : \"bridge\", \"claimed\" : true, \"handle\" : \"PCIBUS:0000:02\", \"description\" : \"PCI bridge\", \"product\" : \"7 Series/C210 Series Chipset Family PCI Express Root Port 1\", \"vendor\" : \"Intel Corporation\", \"physid\" : \"1c\", \"businfo\" : \"pci@0000:00:1c.0\", \"version\" : \"c4\", \"width\" : 32, \"clock\" : 33000000, \"configuration\" : { \"driver\" : \"pcieport\" }, \"capabilities\" : { \"pci\" : true, \"pciexpress\" : \"PCI Express\", \"msi\" : \"Message Signalled Interrupts\", \"pm\" : \"Power Management\", \"normal_decode\" : true, \"bus_master\" : \"bus mastering\", \"cap_list\" : \"PCI capabilities listing\" } }, { \"id\" : \"pci:2\", \"class\" : \"bridge\", \"claimed\" : true, \"handle\" : \"PCIBUS:0000:03\", \"description\" : \"PCI bridge\", \"product\" : \"7 Series/C210 Series Chipset Family PCI Express Root Port 2\", \"vendor\" : \"Intel Corporation\", \"physid\" : \"1c.1\", \"businfo\" : \"pci@0000:00:1c.1\", \"version\" : \"c4\", \"width\" : 32, \"clock\" : 33000000, \"configuration\" : { \"driver\" : \"pcieport\" }, \"capabilities\" : { \"pci\" : true, \"pciexpress\" : \"PCI Express\", \"msi\" : \"Message Signalled Interrupts\", \"pm\" : \"Power Management\", \"normal_decode\" : true, \"bus_master\" : \"bus mastering\", \"cap_list\" : \"PCI capabilities listing\" }, \"children\" : [ { \"id\" : \"network\", \"class\" : \"network\", \"claimed\" : true, \"handle\" : \"PCI:0000:03:00.0\", \"description\" : \"Wireless interface\", \"product\" : \"Centrino Advanced-N 6205 [Taylor Peak]\", \"vendor\" : \"Intel Corporation\", \"physid\" : \"0\", \"businfo\" : \"pci@0000:03:00.0\", \"logicalname\" : \"wlp3s0\", \"version\" : \"34\", \"serial\" : \"a4:4e:31:d1:81:e4\", \"width\" : 64, \"clock\" : 33000000, \"configuration\" : { \"broadcast\" : \"yes\", \"driver\" : \"iwlwifi\", \"driverversion\" : \"4.4.0-53-generic\", \"firmware\" : \"18.168.6.1\", \"latency\" : \"0\", \"link\" : \"no\", \"multicast\" : \"yes\", \"wireless\" : \"IEEE 802.11abgn\" }, \"capabilities\" : { \"pm\" : \"Power Management\", \"msi\" : \"Message Signalled Interrupts\", \"pciexpress\" : \"PCI Express\", \"bus_master\" : \"bus mastering\", \"cap_list\" : \"PCI capabilities listing\", \"ethernet\" : true, \"physical\" : \"Physical interface\", \"wireless\" : \"Wireless-LAN\" } } ] }, { \"id\" : \"pci:3\", \"class\" : \"bridge\", \"claimed\" : true, \"handle\" : \"PCIBUS:0000:04\", \"description\" : \"PCI bridge\", \"product\" : \"7 Series/C210 Series Chipset Family PCI Express Root Port 3\", \"vendor\" : \"Intel Corporation\", \"physid\" : \"1c.2\", \"businfo\" : \"pci@0000:00:1c.2\", \"version\" : \"c4\", \"width\" : 32, \"clock\" : 33000000, \"configuration\" : { \"driver\" : \"pcieport\" }, \"capabilities\" : { \"pci\" : true, \"pciexpress\" : \"PCI Express\", \"msi\" : \"Message Signalled Interrupts\", \"pm\" : \"Power Management\", \"normal_decode\" : true, \"bus_master\" : \"bus mastering\", \"cap_list\" : \"PCI capabilities listing\" } }, { \"id\" : \"pci:4\", \"class\" : \"bridge\", \"claimed\" : true, \"handle\" : \"PCIBUS:0000:08\", \"description\" : \"PCI bridge\", \"product\" : \"7 Series/C210 Series Chipset Family PCI Express Root Port 4\", \"vendor\" : \"Intel Corporation\", \"physid\" : \"1c.3\", \"businfo\" : \"pci@0000:00:1c.3\", \"version\" : \"c4\", \"width\" : 32, \"clock\" : 33000000, \"configuration\" : { \"driver\" : \"pcieport\" }, \"capabilities\" : { \"pci\" : true, \"pciexpress\" : \"PCI Express\", \"msi\" : \"Message Signalled Interrupts\", \"pm\" : \"Power Management\", \"normal_decode\" : true, \"bus_master\" : \"bus mastering\", \"cap_list\" : \"PCI capabilities listing\" } }, { \"id\" : \"pci:5\", \"class\" : \"bridge\", \"claimed\" : true, \"handle\" : \"PCIBUS:0000:0c\", \"description\" : \"PCI bridge\", \"product\" : \"7 Series/C210 Series Chipset Family PCI Express Root Port 6\", \"vendor\" : \"Intel Corporation\", \"physid\" : \"1c.5\", \"businfo\" : \"pci@0000:00:1c.5\", \"version\" : \"c4\", \"width\" : 32, \"clock\" : 33000000, \"configuration\" : { \"driver\" : \"pcieport\" }, \"capabilities\" : { \"pci\" : true, \"pciexpress\" : \"PCI Express\", \"msi\" : \"Message Signalled Interrupts\", \"pm\" : \"Power Management\", \"normal_decode\" : true, \"bus_master\" : \"bus mastering\", \"cap_list\" : \"PCI capabilities listing\" }, \"children\" : [ { \"id\" : \"generic\", \"class\" : \"generic\", \"claimed\" : true, \"handle\" : \"PCI:0000:0c:00.0\", \"description\" : \"SD Host controller\", \"product\" : \"OZ600FJ0/OZ900FJ0/OZ600FJS SD/MMC Card Reader Controller\", \"vendor\" : \"O2 Micro, Inc.\", \"physid\" : \"0\", \"businfo\" : \"pci@0000:0c:00.0\", \"version\" : \"05\", \"width\" : 32, \"clock\" : 33000000, \"configuration\" : { \"driver\" : \"sdhci-pci\", \"latency\" : \"0\" }, \"capabilities\" : { \"pm\" : \"Power Management\", \"pciexpress\" : \"PCI Express\", \"bus_master\" : \"bus mastering\", \"cap_list\" : \"PCI capabilities listing\" } } ] }, { \"id\" : \"usb:2\", \"class\" : \"bus\", \"claimed\" : true, \"handle\" : \"PCI:0000:00:1d.0\", \"description\" : \"USB controller\", \"product\" : \"7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1\", \"vendor\" : \"Intel Corporation\", \"physid\" : \"1d\", \"businfo\" : \"pci@0000:00:1d.0\", \"version\" : \"04\", \"width\" : 32, \"clock\" : 33000000, \"configuration\" : { \"driver\" : \"ehci-pci\", \"latency\" : \"0\" }, \"capabilities\" : { \"pm\" : \"Power Management\", \"debug\" : \"Debug port\", \"ehci\" : \"Enhanced Host Controller Interface (USB2)\", \"bus_master\" : \"bus mastering\", \"cap_list\" : \"PCI capabilities listing\" }, \"children\" : [ { \"id\" : \"usbhost\", \"class\" : \"bus\", \"claimed\" : true, \"handle\" : \"USB:2:1\", \"product\" : \"EHCI Host Controller\", \"vendor\" : \"Linux 4.4.0-53-generic ehci_hcd\", \"physid\" : \"1\", \"businfo\" : \"usb@2\", \"logicalname\" : \"usb2\", \"version\" : \"4.04\", \"configuration\" : { \"driver\" : \"hub\", \"slots\" : \"3\", \"speed\" : \"480Mbit/s\" }, \"capabilities\" : { \"usb-2.00\" : \"USB 2.0\" }, \"children\" : [ { \"id\" : \"usb\", \"class\" : \"bus\", \"claimed\" : true, \"handle\" : \"USB:2:2\", \"description\" : \"USB hub\", \"product\" : \"Integrated Rate Matching Hub\", \"vendor\" : \"Intel Corp.\", \"physid\" : \"1\", \"businfo\" : \"usb@2:1\", \"version\" : \"0.00\", \"configuration\" : { \"driver\" : \"hub\", \"slots\" : \"8\", \"speed\" : \"480Mbit/s\" }, \"capabilities\" : { \"usb-2.00\" : \"USB 2.0\" } } ] } ] }, { \"id\" : \"isa\", \"class\" : \"bridge\", \"claimed\" : true, \"handle\" : \"PCI:0000:00:1f.0\", \"description\" : \"ISA bridge\", \"product\" : \"QM77 Express Chipset LPC Controller\", \"vendor\" : \"Intel Corporation\", \"physid\" : \"1f\", \"businfo\" : \"pci@0000:00:1f.0\", \"version\" : \"04\", \"width\" : 32, \"clock\" : 33000000, \"configuration\" : { \"driver\" : \"lpc_ich\", \"latency\" : \"0\" }, \"capabilities\" : { \"isa\" : true, \"bus_master\" : \"bus mastering\", \"cap_list\" : \"PCI capabilities listing\" } }, { \"id\" : \"storage\", \"class\" : \"storage\", \"claimed\" : true, \"handle\" : \"PCI:0000:00:1f.2\", \"description\" : \"RAID bus controller\", \"product\" : \"82801 Mobile SATA Controller [RAID mode]\", \"vendor\" : \"Intel Corporation\", \"physid\" : \"1f.2\", \"businfo\" : \"pci@0000:00:1f.2\", \"version\" : \"04\", \"width\" : 32, \"clock\" : 66000000, \"configuration\" : { \"driver\" : \"ahci\", \"latency\" : \"0\" }, \"capabilities\" : { \"storage\" : true, \"msi\" : \"Message Signalled Interrupts\", \"pm\" : \"Power Management\", \"bus_master\" : \"bus mastering\", \"cap_list\" : \"PCI capabilities listing\" } }, { \"id\" : \"serial\", \"class\" : \"bus\", \"handle\" : \"PCI:0000:00:1f.3\", \"description\" : \"SMBus\", \"product\" : \"7 Series/C210 Series Chipset Family SMBus Controller\", \"vendor\" : \"Intel Corporation\", \"physid\" : \"1f.3\", \"businfo\" : \"pci@0000:00:1f.3\", \"version\" : \"04\", \"width\" : 64, \"clock\" : 33000000, \"configuration\" : { \"latency\" : \"0\" } } ] }, { \"id\" : \"scsi\", \"class\" : \"storage\", \"claimed\" : true, \"physid\" : \"2\", \"logicalname\" : \"scsi2\", \"capabilities\" : { \"emulated\" : \"Emulated device\" }, \"children\" : [ { \"id\" : \"cdrom\", \"class\" : \"disk\", \"claimed\" : true, \"handle\" : \"SCSI:02:00:00:00\", \"description\" : \"DVD-RAM writer\", \"product\" : \"DVD+-RW UJ8DB\", \"vendor\" : \"MATSHITA\", \"physid\" : \"0.0.0\", \"businfo\" : \"scsi@2:0.0.0\", \"logicalname\" : [\"/dev/cdrom\", \"/dev/cdrw\", \"/dev/dvd\", \"/dev/dvdrw\", \"/dev/sr0\"], \"dev\" : \"11:0\", \"version\" : \"D.03\", \"configuration\" : { \"ansiversion\" : \"5\", \"status\" : \"nodisc\" }, \"capabilities\" : { \"removable\" : \"support is removable\", \"audio\" : \"Audio CD playback\", \"cd-r\" : \"CD-R burning\", \"cd-rw\" : \"CD-RW burning\", \"dvd\" : \"DVD playback\", \"dvd-r\" : \"DVD-R burning\", \"dvd-ram\" : \"DVD-RAM burning\" } } ] } ] }, { \"id\" : \"battery\", \"class\" : \"power\", \"claimed\" : true, \"handle\" : \"DMI:1600\", \"product\" : \"DELL 05VFW39\", \"vendor\" : \"LG\", \"physid\" : \"1\", \"version\" : \"09/20/2013\", \"serial\" : \"1A8B\", \"slot\" : \"Sys. Battery Bay\", \"units\" : \"mWh\", \"capacity\" : 86580, \"configuration\" : { \"voltage\" : \"11.1V\" } }, { \"id\" : \"power\", \"class\" : \"power\", \"description\" : \"To Be Filled By O.E.M.\", \"product\" : \"To Be Filled By O.E.M.\", \"vendor\" : \"To Be Filled By O.E.M.\", \"physid\" : \"2\", \"version\" : \"To Be Filled By O.E.M.\", \"serial\" : \"To Be Filled By O.E.M.\", \"units\" : \"mWh\", \"capacity\" : 130 } ] } "; // result will be an iterator over tuples containing the start and end indices for each match in the string let result = regex.captures_iter(string); for mat in result { println!("{:?}", mat); } }

Please keep in mind that these code samples are automatically generated and are not guaranteed to work. If you find any syntax errors, feel free to submit a bug report. For a full regex reference for Rust, please visit: https://docs.rs/regex/latest/regex/