Help parse this time: such parameters are of interest to the printer name and installation date
HP_LaserJet aceepting requests since Вт. 28 февр. 2017 17:49:12 HP_LaserJet aceepting requests since Вт. 28 февр. 2017 17:49:12 Help parse this time: such parameters are of interest to the printer name and installation date
HP_LaserJet aceepting requests since Вт. 28 февр. 2017 17:49:12 HP_LaserJet aceepting requests since Вт. 28 февр. 2017 17:49:12 The regular expression for your string looks like this:
[^ ]+\ aceepting\ requests\ since\ (?:Пн|Вт|Ср|Чт|Пт|Сб|Вс)\.\ \d+\ (?:янв|февр|март|апр|май|июнь|июль|авг|сен|окт|нояб|дек)\.?\ \d{4}\ \d{1,2}\:\d{1,2}\:\d{1,2} Working example: https://regex101.com/r/xWB0u4/1
Source: https://ru.stackoverflow.com/questions/635175/
All Articles
scanf/sscanf- avp