@@ -62,7 +62,7 @@ function extractHost(rawDesc: string): string {
6262 const m = plain . match ( / b o o k e d \s * b y [ \s : ] * ( .+ ?) (?: \r ? \n | \n ) / i) ;
6363 if ( m ) return m [ 1 ] . trim ( ) ;
6464 const m2 = plain . match (
65- / b o o k e d \s * b y [ \s : ] * ( .+ ?) \s + (?: o p e n s p a c e t i t l e | o p e n s p a c e d e s c r i p t i o n | r o o m ) / i,
65+ / b o o k e d \s * b y [ \s : ] * ( .+ ?) \s + (?: o p e n s p a c e t i t l e | o p e n s p a c e d e s c r i p t i o n | r o o m ) / i
6666 ) ;
6767 if ( m2 ) return m2 [ 1 ] . trim ( ) ;
6868 return "" ;
@@ -72,7 +72,7 @@ function shortenEuroPythonLinks(text: string): string {
7272 // Replace https://ep*.europython.eu/path with [/path](/path), but only if path has content
7373 return text . replace (
7474 / h t t p s ? : \/ \/ e p [ ^ . ] * \. e u r o p y t h o n \. e u ( \/ [ ^ \s < ! ] + ) / g,
75- "[$1]($1)" ,
75+ "[$1]($1)"
7676 ) ;
7777}
7878
@@ -88,7 +88,7 @@ function slugify(text: string): string {
8888}
8989
9090function parseDt (
91- raw : string ,
91+ raw : string
9292) : null | { iso : string ; hhmm : string ; date : string } {
9393 const tzMatch = raw . match ( / T Z I D = .* ?[ : ] ( \d { 8 } T \d { 6 } ) / ) ;
9494 if ( tzMatch ) {
@@ -171,7 +171,7 @@ function parseICal(ics: string): OpenSpaceEvent[] {
171171 // Build full description from "Open Space Description" section
172172 let fullDescription = "" ;
173173 const descMatch = rawDescription . match (
174- / o p e n s p a c e d e s c r i p t i o n \s * : ? \s * ( [ \s \S ] + ?) (?: r o o m \s + \S + | $ ) / i,
174+ / o p e n s p a c e d e s c r i p t i o n \s * : ? \s * ( [ \s \S ] + ?) (?: r o o m \s + \S + | $ ) / i
175175 ) ;
176176 if ( descMatch ) {
177177 fullDescription = descMatch [ 1 ]
@@ -239,7 +239,7 @@ export async function fetchOpenSpacesEvents(): Promise<OpenSpaceEvent[]> {
239239 }
240240 const events = parseICal ( text ) ;
241241 console . log (
242- `[OpenSpacesCalendar] Loaded ${ events . length } events from iCal` ,
242+ `[OpenSpacesCalendar] Loaded ${ events . length } events from iCal`
243243 ) ;
244244 return events ;
245245 } catch ( err ) {
0 commit comments