Update buildreadme.php
This commit is contained in:
parent
54f90d1aa1
commit
b15e7f46fb
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
$source=file_get_contents("../Alembic.tex");
|
$source=file_get_contents("Alembic.tex");
|
||||||
$matches=[];
|
$matches=[];
|
||||||
preg_match_all('/
|
preg_match_all('/
|
||||||
(?| # two alternatives whose group numbers both begin at 1
|
(?| # two alternatives whose group numbers both begin at 1
|
||||||
|
@ -17,7 +17,7 @@ preg_match_all('/
|
||||||
);
|
);
|
||||||
$poems=$matches[1];
|
$poems=$matches[1];
|
||||||
$endB="";
|
$endB="";
|
||||||
$f=file("../README.md");
|
$f=file("README.md");
|
||||||
$writeStuff=true;
|
$writeStuff=true;
|
||||||
foreach($f as $line){
|
foreach($f as $line){
|
||||||
if(trim($line)=="<!-- BEGIN POEMLIST -->"){
|
if(trim($line)=="<!-- BEGIN POEMLIST -->"){
|
||||||
|
|
Loading…
Reference in New Issue
Block a user