Deciphering GIS RegEx

I need corrective help on the use of regular expressions in integrated sigs.

In particular, I am referring to the expressions used in the GIS 3115 (Sendmail header overflow). I see many false positives and I try to understand what the signature is looking for.

These are the expressions:

(\x3c >) {20}

\x26lt;>\x26lt;>\x26lt; >...

Can you help me?

Thank you

Don

Your expressions above, I guess you are using sensors 4.x and look subsignature 3 of the signature 3115. This signature is looking for the following:

(<>){20}

It is essentially"<><><>... "repeated 20 times or more. "" (\x3c >) {20} "is the same thing as above. \x3C is the same as "<". we="" had="" to="" do="" this="" because="" of="" a="" regex="" quirk.="" the="" "\x26lt;="">\x26lt;>\x26lt;" >... "" should look to "<><><>... ». He is a victim of our XML data file that can not handle some characters correctly. This is a bug of display. I'll look to this problem.

Regarding false positives, if you can capture a few iplogs and send them to [email protected] / * /, I'll look into the cause. I need to see the traffic to say what exactly happens.

Tags: Cisco Security

Similar Questions

  • Decipher the panic report

    MacPro 2010 hangs at startup, only on cold starts in the morning. I ran the tech tools and everything is OK and have also checked and reinstalled everything.

    Can someone help me decipher this panic report?

    Anonymous UUID: FC8745CB-61DF-EEE3-D738-3A0193E3FE8F

    Sat Sep 10 11:21:59 2016

    Panic report *.

    panic (cpu 0 0xffffff7f85ba8ebb appellant): NVRM [0 / 7:0:0]: error reading 0x0061002c: CFG 0x108610de 0 x 00180000 0x00000000, BAR0 0x8a000000 0xffffff83b2115000 0x0c8300a1, D0, P2/3

    Backtrace (CPU 0), frame: return address

    0xffffff83abc13bc0: 0xffffff8004d2ae01

    0xffffff83abc13c40: 0xffffff7f85ba8ebb

    0xffffff83abc13d00: 0xffffff7f85c7690d

    0xffffff83abc13d40: 0xffffff7f85e3e72e

    0xffffff83abc13d60: 0xffffff7f85c4a677

    0xffffff83abc13d80: 0xffffff7f85cef0da

    0xffffff83abc13e00: 0xffffff7f85b90b1f

    0xffffff83abc13ec0: 0xffffff7f85b582f4

    0xffffff83abc13f00: 0xffffff8004d5d859

    0xffffff83abc13fb0: 0xffffff8004e11867

    Extensions of core in backtrace:

    com.apple.nvidia.driver.NVDAResman (10.0.4) [95736EED-9154-3CBF-B639-6038E7128035] @0xffffff7f85b52000-> 0xffffff7f85dd3fff

    dependency: com.apple.iokit.IOPCIFamily (2.9) [1571E932-87CE-3EDF-9A81-19694AFEA29E] @ 7f85524000 0xffffff

    dependency: ffff7f85b3b000 @0xff com.apple.iokit.IONDRVSupport (2.4.1) [7372D580-6DDE-3457-B043-49B8447FC9D2]

    dependency: com.apple.iokit.IOGraphicsFamily (2.4.1) [8922721D-5517-3883-BD3A-57422D0244A0] @0 xffffff7f8558b000

    dependency: com.apple.AppleGraphicsDeviceControl (3.10.25) [DFDCFB7E-74E4-397F-AA6F-6ECFC41D5 649]@0xffffff7f85b4b000

    com.apple.nvidia.driver.NVDAGF100Hal (10.0.4) [CCE237DD-003 c-3E4B-B480-14E27D2E11 44]@0xffffff7f85ddf000-> 0xffffff7f85faffff]

    dependency: com.apple.nvidia.driver.NVDAResman (10.0.4) [95736EED-9154-3CBF-B639-6038E7128035] @0xffffff7f85b52000

    dependency: com.apple.iokit.IOPCIFamily (2.9) [1571E932-87CE-3EDF-9A81-19694AFEA29E] @ 7f85524000 0xffffff

    Corresponding to the current thread BSD process name: kernel_task

    Mac OS version:

    14F1912

    Kernel version:

    14.5.0 Darwin kernel version: Mon Aug 29 21:14:16 PDT 2016; root:XNU-2782.50.6~1/RELEASE_X86_64

    Kernel UUID: FE3619E6-270B-34A6-BBD7-BED74EC32693

    Slide kernel: 0x0000000004a00000

    Text of core base: 0xffffff8004c00000

    Text __HIB base: 0xffffff8004b00000

    Name of system model: MacPro5, 1 (Mac-F221BEC8)

    Availability of the system in nanoseconds: 26032298712

    last load kext to 25805931581: com.apple.driver.AppleUSBMergeNub 705.4.0 (addr 0xffffff7f8632e000 size 28672)

    kexts responsible:

    com.nvidia.CUDA 1.1.0

    com Blackmagic - design.desktopvideo.firmware 10.7.1

    com Blackmagic - design.desktopvideo.iokit.framebufferdriver 10.6.4

    com Blackmagic - design.desktopvideo.iokit.driver 10.7.1

    com.nvidia.NVDAStartup 10.0.5

    com Highpoint - tech.kext.HighPointRR 1.1.1

    com.apple.driver.AppleHWSensor 1.9.5d0

    com.apple.driver.AppleGraphicsDevicePolicy 3.7.7

    com.apple.driver.AppleUSBCDC 4.3.3b1

    com.apple.iokit.IOBluetoothSerialManager 4.3.6f3

    com.apple.driver.AudioAUUC 1.70

    com Apple.filesystems.autofs 3.0

    com.apple.driver.AppleTyMCEDriver 1.0.2d2

    com.apple.driver.AGPM 110.19.6

    com.apple.driver.AppleOSXWatchdog 1

    com.apple.driver.AppleMikeyHIDDriver 124

    com.apple.driver.AppleHDAHardwareConfigDriver 272.18.3

    com.apple.driver.AppleUpstreamUserClient 3.6.1

    com.apple.iokit.IOUserEthernet 1.0.1

    com.apple.driver.AppleMCCSControl 1.2.12

    com.apple.driver.AppleHDA 272.18.3

    com.apple.driver.AppleMikeyDriver 272.18.3

    com.apple.GeForce 10.0.4

    com.apple.Dont_Steal_Mac_OS_X 7.0.0

    com.apple.iokit.IOBluetoothUSBDFU 4.3.6f3

    com.apple.driver.AppleHWAccess 1

    com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.3.6f3

    com.apple.driver.AppleHV 1

    com.apple.driver.AppleLPC 1.7.3

    com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0

    com.apple.driver.AppleIntelSlowAdaptiveClocking 4.0.0

    com.apple.driver.AppleFIVRDriver 4.1.0

    com.apple.driver.XsanFilter 404

    com.apple.iokit.IOAHCIBlockStorage 2.7.1

    com.apple.iokit.IOAHCIPassThrough 1.0.3

    com.apple.driver.AppleUSBDisplays 372.1

    com.apple.iokit.SCSITaskUserClient 3.7.5

    com.apple.driver.AppleFileSystemDriver 3.0.1

    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1

    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0

    com.apple.BootCache 36

    com.apple.driver.AppleFWOHCI 5.5.2

    com.apple.driver.AppleUSBHub 705.4.2

    com.apple.driver.Intel82574L 2.6.8b1

    com.apple.driver.AirPort.Brcm4331 800.20.24

    com.apple.driver.AppleAHCIPort 3.1.2

    com.apple.driver.AppleUSBEHCI 705.4.14

    com.apple.driver.AppleUSBUHCI 656.4.1

    com.apple.driver.AppleRTC 2.0

    com.apple.driver.AppleHPET 1.8

    com.apple.driver.AppleACPIButtons 3.1

    com.apple.driver.AppleSMBIOS 2.1

    com.apple.driver.AppleACPIEC 3.1

    com.apple.driver.AppleAPIC 1.7

    com.apple.driver.AppleIntelCPUPowerManagementClient 218.0.0

    com Apple.NKE.applicationfirewall 161

    com Apple.Security.Quarantine 3

    com.apple.security.TMSafetyNet 8

    com.apple.driver.AppleIntelCPUPowerManagement 218.0.0

    com.apple.driver.AppleUSBMergeNub 705.4.0

    3.10.25 com.apple.driver.AppleGraphicsControl

    com Apple.kext.Triggers 1.0

    com.apple.iokit.IOSurface 97.4

    com.apple.driver.DspFuncLib 272.18.3

    com.apple.kext.OSvKernDSPLib 1.15

    com.apple.iokit.IOAcceleratorFamily2 156,17

    com.apple.nvidia.driver.NVDAGF100Hal 10.0.4

    com.apple.nvidia.driver.NVDAResman 10.0.4

    3.10.25 com.apple.AppleGraphicsDeviceControl

    com.apple.driver.AppleSMBusController 1.0.13d1

    com.apple.iokit.IONDRVSupport 2.4.1

    com.apple.iokit.IOBluetoothHostControllerUSBTransport 4.3.6f3

    com.apple.iokit.IOBluetoothFamily 4.3.6f3

    com.apple.iokit.IOFireWireIP 2.2.6

    com.apple.driver.AppleHDAController 272.18.3

    com.apple.iokit.IOHDAFamily 272.18.3

    com.apple.iokit.IOGraphicsFamily 2.4.1

    com.apple.iokit.IOAudioFamily 203.3

    com.apple.vecLib.kext 1.2.0

    com.apple.iokit.IOSerialFamily 11

    com.apple.driver.AppleSMBusPCI 1.0.12d1

    com.apple.iokit.IOUSBUserClient 705.4.0

    com.apple.driver.AppleSMC 3.1.9

    com.apple.driver.IOPlatformPluginLegacy 1.0.0

    com.apple.driver.IOPlatformPluginFamily 5.9.1d7

    com.apple.iokit.IOSlowAdaptiveClockingFamily 1.0.0

    com.apple.iokit.IOUSBHIDDriver 705.4.0

    com.apple.iokit.IOUSBHIDDriverPM 710.4.7

    com.apple.driver.AppleUSBComposite 705.4.9

    com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.7.5

    com.apple.iokit.IOBDStorageFamily 1.7

    com.apple.iokit.IODVDStorageFamily 1.7.1

    com.apple.iokit.IOCDStorageFamily 1.7.1

    com.apple.iokit.IOAHCISerialATAPI 2.6.1

    4.5.8 com.apple.iokit.IOFireWireFamily

    com.apple.iokit.IOSCSIParallelFamily 3.0.0

    com.apple.iokit.IOSCSIArchitectureModelFamily 3.7.5

    com.apple.iokit.IO80211Family 730.60

    com.apple.iokit.IONetworkingFamily 3.2

    com.apple.iokit.IOAHCIFamily 2.7.5

    com.apple.iokit.IOUSBFamily 720.4.4

    com.apple.driver.AppleEFINVRAM 2.0

    com.apple.driver.AppleEFIRuntime 2.0

    com.apple.iokit.IOHIDFamily 2.0.0

    com.apple.iokit.IOSMBusFamily 1.1

    com Apple.Security.sandbox 300.0

    com.apple.kext.AppleMatch 1.0.0d1

    com.apple.driver.AppleKeyStore 2

    com.apple.driver.AppleMobileFileIntegrity 1.0.5

    com.apple.driver.AppleCredentialManager 1.0

    com.apple.driver.DiskImages 398

    com.apple.iokit.IOStorageFamily 2.0

    com.apple.iokit.IOReportFamily 31

    com.apple.driver.AppleFDEKeyStore 28.30

    com.apple.driver.AppleACPIPlatform 3.1

    com.apple.iokit.IOPCIFamily 2.9

    com.apple.iokit.IOACPIFamily 1.4

    com Apple.KEC.corecrypto 1.0

    com Apple.KEC.pthread 1

    com.apple.kec.Libm 1

    Model: MacPro5, 1, MP51.007F.B03 of BootROM, 8 processors Quad - Core Intel Xeon, 2.4 GHz, 32 GB, MSC 1.39f11

    Graphics card: NVIDIA GeForce GTX 570, NVIDIA GeForce GTX 570, PCIe, 2560 MB

    Memory module: DIMM 1, 4 GB DDR3 ECC, 1066 MHz, 0 x 0000, 0 x 202020202020202020202020202020202020

    Memory module: DIMM 2, 4 GB DDR3 ECC, 1066 MHz, 0 x 0000, 0 x 202020202020202020202020202020202020

    Memory module: DIMM 3, 4 GB DDR3 ECC, 1066 MHz, 0 x 0702, 0x353132373259313333490000000048594E00

    Memory module: DIMM 4, 4 GB DDR3 ECC, 1066 MHz, 0 x 0000, 0 x 202020202020202020202020202020202020

    Memory module: DIMM 5, 4 GB DDR3 ECC, 1066 MHz, 0 x 0000, 0 x 202020202020202020202020202020202020

    Memory module: DIMM 6, 4 GB DDR3 ECC, 1066 MHz, 0 x 0702, 0x353132373259313333490000000048594E00

    Memory module: DIMM 7, 4 GB DDR3 ECC, 1066 MHz, 0 x 0000, 0 x 202020202020202020202020202020202020

    Memory module: DIMM 8, 4 GB of DDR3 ECC, 1066 MHz memory, 0x0000, 0 x 202020202020202020202020202020202020

    Airport: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8E), Broadcom BCM43xx 1.0 (5.106.98.100.24)

    Bluetooth: Version 4.3.6f3 16238, 3 services, 27 aircraft, 1 incoming serial ports

    Service network: Ethernet 1, Ethernet, en0

    Network service: Wi - Fi, AirPort, en2

    PCI card: NVIDIA GeForce GTX 570, view controller, Slot-1

    PCI card: NVIDIA GeForce GTX 570, NVDA, Parent, Slot-1

    PCI card: DeckLink HD Extreme 2, Video, slot-3

    PCI card: scsi, SCSI, Slot-4@6,4,0 Bus controller

    Serial ATA Device: HL-DT-ST DVD - RW GH41N

    Serial ATA Device: ST31500341AS, 1.5 to

    Serial ATA Device: M4-CT512M4SSD2, GB 512,11

    SCSI device: Equipment of SCSI target @ 16

    USB device: Hub

    USB device: Apple Cinema HD Display

    USB device: USB 2.0 Hub

    USB device: Touch Intuos5 M

    USB device: Keyboard Hub

    USB Device: Apple keyboard

    USB device: Ripple

    USB device: Hub

    USB device: Apple Cinema HD Display

    USB device: Hub BRCM2046

    USB Device: USB Bluetooth host controller

    FireWire devices: built-in_hub, up to 800 Mb/s

    Crush Bus:

    This is a problem with your graphics card:

    Panic report *.

    panic (cpu 0...): NVRM [0 / 7:0:0]: read error

    NVRM is the NVIDIA display RAM on the card - it cannot be read by the CPU. The map is confused. It can dissipate, but is more likely.

  • Help decipher a kernel panic please?

    I get panics from the kernel at startup to the top of my Mac Pro mid-2012. When the panic appears at startup, it asks me to press a button and it will then restart and launch. I have searched the web for the translation of the error log, but am not having much luck. In the system report my RAM slots all report 'OK' and my system diagnostics in the report of the so-called "passed." Panic occur at intervals that it hurts me a little uncomfortable at this point. I thought a kernel panic usually indicates a hardware problem, and that gave me a little scared. Thanks for any help to decipher it.

    Here's the panic report, nobody knows if it points to the real culprit?

    Panic report *.

    panic (the appellant 2 0xffffff80095d255a cpu): Kernel trap at 0xffffff8009a3949a, type 14 = page fault, registers:

    CR0: 0X000000008001003B, CR2: 0 X 0000000000000037, CR3: 0X000000000CF8C000 CR4: 0 X 0000000000002660

    RAX: 0XFFFFFFFFFFFFFFFF, RBX: 0XFFFFFF8009D27220 RCX: 0XFFFFFF8009C0FB48 RDX: 0XFFFFFF8042F257B0

    RER: 0XFFFFFF83ADC33CB0, RBP: 0XFFFFFF83ADC33CC0, IHR: 0XFFFFFF8009D27220, RDI: 0XFFFFFF8044500400

    R8: 0X000000000000FFFF, R9: 0 X 0000000000000001, R10: 0 X 0000000000000000, R11: 0 X 0000000000000001

    R12: 0XFFFFFF7F89F754B6, R13: 0XFFFFFF8009D27220, R14: 0XFFFFFF8044500400 R15: 0XFFFFFF80444FF900

    RFL: 0 X 0000000000010286, RIP: 0XFFFFFF8009A3949A, CS: 0000000000000008, SS 0 X: 0 X 0000000000000010

    Lack of CR2: 0 x 0000000000000037, error code: 0 x 0000000000000000, CPU error: 0 x 2, PL: 0

    Backtrace (2 CPU), Frame: Return address

    0xffffff83adc33940: 0xffffff80094df792

    0xFFFFFF

    Model: MacPro5, 1, MP51.007F.B03 of BootROM, 4 processors Quad - Core Intel Xeon, 3.2 GHz, 32 GB, MSC 1.39f11

    Graphics card: ATI Radeon HD 5770, ATI Radeon HD 5770, PCIe 1024 MB

    Graphics card: ATI Radeon HD 5770, ATI Radeon HD 5770, PCIe 1024 MB

    Memory module: DIMM 1, 8 GB, DDR3 ECC, 1066 MHz, 0x85F7, 0 x 463732314755363547393333334700520000

    Memory module: DIMM 2, 8 GB, DDR3 ECC, 1066 MHz, 0x85F7, 0 x 463732314755363547393333334700520000

    Memory module: DIMM 3, 8 GB, DDR3 ECC, 1066 MHz, 0x85F7, 0 x 463732314755363547393333334700520000

    Memory module: DIMM 4, 8 GB, DDR3 ECC, 1066 MHz, 0x85F7, 0 x 463732314755363547393333334700520000

    Airport: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8E), Broadcom BCM43xx 1.0 (5.106.98.100.24)

    Bluetooth: Version 4.4.3f4 16616, 3 services, 18 aircraft, 1 incoming serial ports

    Service network: Ethernet, Ethernet, 2 in 1

    PCI card: ATI Radeon HD 5770, view controller, Slot-1

    PCI card: ATI Radeon HD 5770, view controller, Slot-2

    Serial ATA Device: PIONEER BD - RW BDR - 208D

    Serial ATA Device: HL-DT-ST DVD - RW GH80N

    Serial ATA Device: ST1000NM0011, 1 TB

    Serial ATA Device: WDC WD1001FALS-41Y6A1, 1 TB

    Serial ATA Device: WDC WD20EZRX-00DC0B0, 2 TB

    Serial ATA Device: WDC WD20EZRX-00D8PB0, 2 TB

    USB device: USB Bus

    USB device: USB Bus

    USB device: USB Bus

    USB device: Hub BRCM2046

    USB Device: USB Bluetooth host controller

    USB device: USB Bus

    USB device: USB Bus

    USB device: USB Bus

    USB device: USB 2.0 Bus

    USB device: USB 2.0 Hub [MTT]

    USB device: USB 2.0 Hub

    USB device: USB receiver

    USB device: USB-PS/2 Optical Mouse

    USB device: USB storage

    USB Device: Ext HDD 1021

    USB device: ST3500630AS P

    USB device: USB 2.0 Bus

    USB device: Devices

    FireWire devices: built-in_hub, up to 800 Mb/s

    FireWire devices: ST3000DM001-1ER166, 1394Vender, up to 800 Mb/s

    Crush Bus:

    It asks me to press a button and it will then restart and launch.

    It's a message from windows startup. The side Mac does not use that.

    If you set the card partition or Volume sizes somehow using Windows, Windows 'helped' you write on the Mac Partition.

  • Tecra A5 supports the applications of GIS and mathematics/statistics?

    one last thing, Tecra A5 can support GIS applications and mathematics/statistics?

    Hello

    I put t know why the GIS and statistical math should t working on Tecra unit.
    The unit has a particular characteristic or a sets of equipment to run this application?
    The Tecra A5 is a very nice laptop. You can upgrade the memory for max 2048 MB.
    It was also delivered with different graphics cards and different processors.

  • Hai iam Amaladas from Chennai (India) iam Remote Sensing and GIS researcher here most people using the Google Earth application and five members using Iphone, we need a Google Earth app (India)

    Hai iam Amaladas from Chennai (India) iam Remote Sensing and GIS researcher here most people using the Google Earth application and five members using Iphone, we need an app (India) of Google Earth?

    https://www.Google.com/search?q=Google+Earth+app+India&ie=UTF-8&OE=UTF-8

  • Another RegEX question

    Hi, I have a question about the regular expression: If you look at the attached code you will find two examples. It is an old piece of code, but now I have to fix a bug that was discovered after a few years of use. Task: If the entry is for example C1 - C4, the algorithm needs generate a table of C1, C2, C3, C4. This should work on any digit and letter. Examples: R1 - R5, K569-K799, S2 - S3. This works very well for [letter] [number], but my regex won't work for the case now, I have to solve. If the entry is C1A1-C1A4 the output should be C1A2 C1A1, C1A3, C1A4, but I don't know what should look like the new RegEx so that it still works on [letter] [number] [letter] [number].

    You can not only use [0-9] + $ to return only the number of the end of the string?

    Regular correspondence Expression.vi will return all the foregoing the final number in 'before the game '.

    I'm sorry that I can't look at your code since I don't have a LabVIEW 2011 on my system.

    Rob

  • Need help, trying to decipher my Panel event logs control for security and applications.

    Hi, I need help trying to figure out how to decipher my control panel the security event logs and logs application for account hacking.

    All the advice to learn how to see what who are normal and what is malicious?

    Occurrences of breach possible system, based on very high traffic for the opening of session and closing session and special privilege settings.

    Please notify.

    HP Pavilion DV9700 entertainment

    Windows Vista SP1 Home Premium 32

    I'll leave this thread closed, since I work with other people on another forum on this topic.

  • Regex question

    Someday I'll learn Regex. However, that day is not yet. What I have to do is choose the string in square brackets [abcde] returns abcde. I thought it would be something like------[(.+)------] but I can't run in LabVIEW. Suggestions?

    You have the regular expression on the right. Here is the code that I tested. (One of the constants represent values in controls and indicators)

  • Regex find number at end of string

    Hi guys,.

    I try to learn regex, but it's hard and I'm stuck to a simple task:

    Let's say I have this string:

    "C1".

    I would like to find what is the number to the end of the line. I can do with this regular expression ' [0-9] + $".

    Now if this chain was formed with a small error, say a character 'space' after the number:

    "C1".

    My regex would not '1 '.

    What should I change in my regex to find the last number in the string, even if it has an error?

    P.S. The string can contain several numbers, such as "C5_IND1". My regex must return '1 '.

    Use the look early.  I sounds like you want the last number which is not followed by another number:

    (\d+) (?!. * \d)

  • You can use Bing Maps as a base in an Arc GIS Layer?

    You want to use Bing maps as my base for a project GIS layer. Can I download it for free?

    Hello

    Sorry, but we don't support Bing or answer questions about Bing here. You should repost your question about Bing forums at http://www.bing.com/community/f/.

  • How a person to decipher the code of BSOD 0x0000008e 0xc0000005

    Original title: BSOD

    How a person to decipher the code from a blue screen of death?

    I tried Googling my specific code, but can not get any hits on it.

    0x0000008E 0xc0000005 0xae2c9b43 0xadf1fb9c 0x00000000

    GDRV. SYS to AE2C9B43

    Base of support to AE2C9000

    Date Stamp 49B9D04C

    Thanks for any info.

    The problematic driver seems to be the GDRV. SYS:

    0x0000008E 0xc0000005 0xae2c9b43 0xadf1fb9c 0x00000000

    GDRV. SYS to AE2C9B43

    Base of support to AE2C9000

    Date Stamp 49B9D04C

    The gdrv.sys is a driver for a Gigabyte utility like Gigabyte Dynamic Energy Saver program.

    I suggest to uninstall all the utility from Gigabyte and see if the error resolves.

    Subsequently, you can, if you wish, reinstall the utility from Gigabyte and see if the error is resolved.

  • How to extract the corresponding regex string

    Hello

    I am trying to extract text from a long string using QRegEx. Here's my regex:

    Rx QRegExp ("^. *(192|210). * key =? *");

    QString url = ""https://192.168.1.10/files/30/encrypt/key=s6h779bf " "

    rx.setPatternSyntax (QRegExp::Wildcard);

    rx.indexIn (str, 0);

    qDebug()<>

    qDebug()<>

    However, it is does not match anything.

    If I change the regular expression of "(192|210)." * key =? ' * ' can he match but I can't get the string after the = key

    You use a regular expression capture if you want that the parameter "key."

    QRegExp rx("^.*(192|210).*key=(.*)?");
    
    qDebug() << rx.cap(1);  // here's the first octet of your IP
    qDebug() << rx.cap(2);  // key parameter (optional)
    

    Your regex could do with a lot of improvement in my humble opinion. You might want to consuder the class QUrl that does what you want already:

    QUrl url("https://192.168.1.10/files/30/encrypt/key=s6h779bf");
    
    qDebug() << url.queryItemValue("key");
    

    Tip: rubular is a handy Tester on the regex web which makes this kind of thing much easier to debug

    http://rubular.com/

  • Engine analysis works do not often 5.0 (5) GIS 218

    Hello

    We have 27 4215 performer 5.0 (5) GIS 218 and found by "health and wellness messages" the analytical engine does not work on some of our sensors. I can't set a model and it is random. Whenever we see it we're going to restart the daemon CIDS. It will run OK, and then stop again. We cannot determine any newspapers.

    Anyone else seeing this, or know what we might want to find clues?

    Thanks in advance

    M

    6,0000 S220 must be installed. This sp addresses the issues of sensorapp among other bugs.

    -Mario

  • Widget API Find: regex case sensitive does not work

    I try to use the blackberry.find and the blackberry.pim.Contact Widget API to search for a contact.

    I need the contact can be found if the specified filter string is anywhere in the field, regardless of case.  (I need the query to be case insensitive).

    I have a contact, field firstName = 'Norman '.

    I use method REGEX (the only one that might work in this case, I think), with these expressions regex to match "Norman":

    «. * Norm.*' matches

    «. * norm.*"does not match

    So I tried the regex (? I) indicator in the expression, and the discovery does not at all.

    var fe = new blackberry.find.FilterExpression("firstName", "REGEX", ".*(?i)norm.*"); // causes blackberry.pim.Contact.find() to fail
    

    The API doc says "Please refer to java.lang.String.matches () API for more information on the creation of the regular expression correct... "Well, case has been there for some time.

    Case is not supported? If not, well... which sucks.

    I had asked one of the guys on the team who had some difficulty getting case capacity for work.  It came with a work around that is just a bit hacky, but did the trick

    var hack = "";
    var searchText = searchField.value;for (var i = 0; i < searchField.value.length; i++)
    {
      hack = hack + "[" + searchField.value[i].toLowerCase() + searchField.value[i].toUpperCase() + "]";
    }
    
    var fe = new blackberry.find.FilterExpression("firstName", "REGEX", hack + "[a-zA-Z_0-9_\\s]*");
    
    var contacts = blackberry.pim.Contact.find(fe, "firstName", null, null, true);
    

    They created a character set which contained both lowercase and uppercase letter.

  • GIS S253 - why small byte size?

    Question to people of Cisco - I just downloaded the new GIS S253 and noticed that its size in bytes is 423 161... It is much smaller than S252 (= 6 630 431) and S251 (= 6 629 084).

    It is now the norm, or is incomplete parcel S253?

    Please let us know...

    It is not incomplete, s253 applies only to code 5.1.2+. 5.x updated beforehand, the same package was used to upgrade * two * 5.0 and 5.1 code base and had to contain information for both.

Maybe you are looking for