fuldho 发表于 2018-12-12 09:17:27

怎样匹配无空格到下一个无空格字段(已解决)

本帖最后由 fuldho 于 2018-12-17 17:30 编辑

PCI\VEN_10DE&DEV_03F0&SUBSYS_10EC0662&REV_A2\3&267A616A&0&28
    Name: High Definition Audio   Hardware IDs:
      PCI\VEN_10DE&DEV_03F0&SUBSYS_10EC0662&REV_A2
      PCI\VEN_10DE&DEV_03F0&SUBSYS_10EC0662
      PCI\VEN_10DE&DEV_03F0&CC_040300
      PCI\VEN_10DE&DEV_03F0&CC_0403
    Compatible IDs:
      PCI\VEN_10DE&DEV_03F0&REV_A2
      PCI\VEN_10DE&DEV_03F0
      PCI\VEN_10DE&CC_040300
      PCI\VEN_10DE&CC_0403
      PCI\VEN_10DE
      PCI\CC_040300
      PCI\CC_0403
ROOT\LEGACY_NDPROXY\0000
    Name: NDProxy
    No hardware/compatible IDs found for this device.
ACPI\PNP0C01\1
    Name: System board
    Hardware IDs:
      ACPI\PNP0C01
      *PNP0C01
USB\VID_1C4F&PID_0065\5&356A09D4&0&4
    Name: USB   Hardware IDs:
      USB\VID_1C4F&PID_0065&REV_0110
      USB\VID_1C4F&PID_0065
    Compatible IDs:
      USB\Class_03&SubClass_01&Prot_02
      USB\Class_03&SubClass_01
      USB\Class_03
138 matching device(s) found.

xzf680 发表于 2018-12-12 11:27:21

(?s)PCI.*?ROOT\V+
不知道对不对,我瞎扯的

{:face (303):}

zghwelcome 发表于 2018-12-12 11:53:24

(?ims)^\S.*?(?=\r\n\S)|^\S\V*$
页: [1]
查看完整版本: 怎样匹配无空格到下一个无空格字段(已解决)