PHP: захватить многострочную подстроку

Я уверен, что это ошибка Плимута.

Частично на основе обновленного вопроса, но я только что попытался загрузиться с plymouth.debug. По какой-то причине кажется, что у меня есть два «пиксельных дисплея» для одного моего экрана, и оба, похоже, связаны с дескриптором tty1...

.

Похоже, что это исправление было зафиксировано выше по течению, ура!https://bugs.freedesktop.org/show_bug.cgi?id=104353

[ply-keyboard.c:213]                        process_keyboard_input:escape key!
[main.c:1485]                             on_escape_pressed:escape key pressed
[main.c:1465]             toggle_between_splash_and_details:toggling between splash and details
[main.c:1467]             toggle_between_splash_and_details:hiding and freeing current splash
[ply-event-loop.c:965]      ply_event_loop_stop_watching_for_timeout:no matching timeout found for removal
[./plugin.c:1195]                            hide_splash_screen:hiding splash
[./plugin.c:818]                                stop_animation:stopping animation
[./plugin.c:831]                                stop_animation:hiding progress animation
[ply-animation.c:357]                            ply_animation_stop:animation already stopped, ignoring stop request
[./plugin.c:831]                                stop_animation:hiding progress animation
[ply-animation.c:357]                            ply_animation_stop:animation already stopped, ignoring stop request
[ply-boot-splash.c:388]                          ply_boot_splash_free:freeing splash
[ply-event-loop.c:965]      ply_event_loop_stop_watching_for_timeout:no matching timeout found for removal
[ply-boot-splash.c:333]                         remove_pixel_displays:removing pixel displays
[ply-boot-splash.c:347]                         remove_pixel_displays:Removing 1366x768 pixel display
[./plugin.c:1014]                          remove_pixel_display:removing pixel display from plugin
[ply-boot-splash.c:347]                         remove_pixel_displays:Removing 1366x768 pixel display
[./plugin.c:1014]                          remove_pixel_display:removing pixel display from plugin
[./plugin.c:700]                                destroy_plugin:destroying plugin
[./plugin.c:673]                                    free_views:freeing views
[main.c:352]                          show_detailed_splash:Showing detailed splash screen
[main.c:1655]                           load_built_in_theme:Loading built-in theme
[plugins/splash/details/plugin.c:156]                                 create_plugin:creating plugin
[main.c:1670]                           load_built_in_theme:attaching plugin to event loop
[main.c:1673]                           load_built_in_theme:attaching progress to plugin
[ply-boot-splash.c:174]              ply_boot_splash_add_text_display:adding 170x48 text display
[ply-terminal.c:598]                             ply_terminal_open:terminal /dev/tty1 is already open
[ply-boot-splash.c:174]              ply_boot_splash_add_text_display:adding 170x48 text display
[ply-terminal.c:598]                             ply_terminal_open:terminal /dev/tty1 is already open

0
19.01.2020, 11:35
1 ответ

Хорошо, я нашел решение для этого:

preg_match_all('/(<system>.*<\/system>)/ms', file_get_contents('./myinputfile'), $xmlinit);
$output=$xmlinit[0][0]
file_put_contents('./myoutputfile', $output );

Рекомендации по улучшению приветствуются!

0
28.04.2021, 23:25

Теги

Похожие вопросы