         rez[markoSuperKlavo] = [(Int, Int, String)]()
         rez[markoSubKlavo] = [(Int, Int, String)]()
         
-        let regesp = try! NSRegularExpression(pattern: "<(/?([ikbga]|sup|sub))( href=\"(.*?)\")?>")
+        let regesp = try! NSRegularExpression(pattern: "<(/?([ikbga]|sup|sub|frm))( (href|am)=\"(.*?)\")?>")
         let matches = regesp.matches(in: teksto, range: NSRange(teksto.startIndex..., in: teksto))
         
         var rubo = 0

                enhavoj.append(litero)

                do {
                    let regesp = try NSRegularExpression(pattern: "<a href=\"(.*?)\">", options: NSRegularExpression.Options())
                    let trovoj = regesp.matches(in: enhavoj, options: NSRegularExpression.MatchingOptions(), range: NSMakeRange(0, enhavoj.count))
                    if trovoj.count > 0 {
                        // Fari nenion

                    ligoStako.append((loko, ligCelo))
                }
            } else {

            }
                
            rubo += range.length
